From dd48245a70a17dd06dcb5b22ae9eae123542e191 Mon Sep 17 00:00:00 2001 From: cloudpdf-sdk-bot Date: Tue, 1 Sep 2026 22:39:11 +0000 Subject: [PATCH] chore: generate CloudPDF .NET SDK 3.0.0-next.11 --- .fern/metadata.json | 6 +- cloudpdf-generation.json | 8 +- .../MockServer/Doc/Annotations/ListTest.cs | 132 +- .../Unit/MockServer/Doc/Forms/GetTest.cs | 48 +- src/CloudPDF/CloudPDF.csproj | 2 +- src/CloudPDF/Core/Public/Version.cs | 2 +- ...ionsList200ResponseAnnotationsItemCaret.cs | 2 +- ...t200ResponseAnnotationsItemCaretActions.cs | 58 - ...onseAnnotationsItemCaretActionsActivate.cs | 38 - ...AnnotationsItemCaretActionsActivateRoot.cs | 38 - ...tationsItemCaretActionsActivateRootType.cs | 220 --- ...onsItemCaretActionsActivateWarningsItem.cs | 144 -- ...ResponseAnnotationsItemCaretActionsBlur.cs | 38 - ...onseAnnotationsItemCaretActionsBlurRoot.cs | 37 - ...AnnotationsItemCaretActionsBlurRootType.cs | 220 --- ...tationsItemCaretActionsBlurWarningsItem.cs | 140 -- ...eAnnotationsItemCaretActionsCursorEnter.cs | 39 - ...otationsItemCaretActionsCursorEnterRoot.cs | 38 - ...ionsItemCaretActionsCursorEnterRootType.cs | 222 --- ...ItemCaretActionsCursorEnterWarningsItem.cs | 144 -- ...seAnnotationsItemCaretActionsCursorExit.cs | 39 - ...notationsItemCaretActionsCursorExitRoot.cs | 38 - ...tionsItemCaretActionsCursorExitRootType.cs | 222 --- ...sItemCaretActionsCursorExitWarningsItem.cs | 144 -- ...esponseAnnotationsItemCaretActionsFocus.cs | 38 - ...nseAnnotationsItemCaretActionsFocusRoot.cs | 38 - ...nnotationsItemCaretActionsFocusRootType.cs | 220 --- ...ationsItemCaretActionsFocusWarningsItem.cs | 140 -- ...nseAnnotationsItemCaretActionsMouseDown.cs | 39 - ...nnotationsItemCaretActionsMouseDownRoot.cs | 38 - ...ationsItemCaretActionsMouseDownRootType.cs | 220 --- ...nsItemCaretActionsMouseDownWarningsItem.cs | 144 -- ...ponseAnnotationsItemCaretActionsMouseUp.cs | 38 - ...eAnnotationsItemCaretActionsMouseUpRoot.cs | 38 - ...otationsItemCaretActionsMouseUpRootType.cs | 220 --- ...ionsItemCaretActionsMouseUpWarningsItem.cs | 142 -- ...nseAnnotationsItemCaretActionsPageClose.cs | 39 - ...nnotationsItemCaretActionsPageCloseRoot.cs | 38 - ...ationsItemCaretActionsPageCloseRootType.cs | 220 --- ...nsItemCaretActionsPageCloseWarningsItem.cs | 144 -- ...nnotationsItemCaretActionsPageInvisible.cs | 39 - ...ationsItemCaretActionsPageInvisibleRoot.cs | 38 - ...nsItemCaretActionsPageInvisibleRootType.cs | 224 --- ...emCaretActionsPageInvisibleWarningsItem.cs | 144 -- ...onseAnnotationsItemCaretActionsPageOpen.cs | 38 - ...AnnotationsItemCaretActionsPageOpenRoot.cs | 38 - ...tationsItemCaretActionsPageOpenRootType.cs | 220 --- ...onsItemCaretActionsPageOpenWarningsItem.cs | 144 -- ...eAnnotationsItemCaretActionsPageVisible.cs | 39 - ...otationsItemCaretActionsPageVisibleRoot.cs | 38 - ...ionsItemCaretActionsPageVisibleRootType.cs | 222 --- ...ItemCaretActionsPageVisibleWarningsItem.cs | 144 -- ...onsList200ResponseAnnotationsItemCircle.cs | 2 +- ...200ResponseAnnotationsItemCircleActions.cs | 58 - ...nseAnnotationsItemCircleActionsActivate.cs | 39 - ...nnotationsItemCircleActionsActivateRoot.cs | 38 - ...ationsItemCircleActionsActivateRootType.cs | 220 --- ...nsItemCircleActionsActivateWarningsItem.cs | 144 -- ...esponseAnnotationsItemCircleActionsBlur.cs | 38 - ...nseAnnotationsItemCircleActionsBlurRoot.cs | 38 - ...nnotationsItemCircleActionsBlurRootType.cs | 220 --- ...ationsItemCircleActionsBlurWarningsItem.cs | 140 -- ...AnnotationsItemCircleActionsCursorEnter.cs | 39 - ...tationsItemCircleActionsCursorEnterRoot.cs | 38 - ...onsItemCircleActionsCursorEnterRootType.cs | 224 --- ...temCircleActionsCursorEnterWarningsItem.cs | 144 -- ...eAnnotationsItemCircleActionsCursorExit.cs | 39 - ...otationsItemCircleActionsCursorExitRoot.cs | 38 - ...ionsItemCircleActionsCursorExitRootType.cs | 222 --- ...ItemCircleActionsCursorExitWarningsItem.cs | 144 -- ...sponseAnnotationsItemCircleActionsFocus.cs | 38 - ...seAnnotationsItemCircleActionsFocusRoot.cs | 38 - ...notationsItemCircleActionsFocusRootType.cs | 220 --- ...tionsItemCircleActionsFocusWarningsItem.cs | 142 -- ...seAnnotationsItemCircleActionsMouseDown.cs | 39 - ...notationsItemCircleActionsMouseDownRoot.cs | 38 - ...tionsItemCircleActionsMouseDownRootType.cs | 222 --- ...sItemCircleActionsMouseDownWarningsItem.cs | 144 -- ...onseAnnotationsItemCircleActionsMouseUp.cs | 38 - ...AnnotationsItemCircleActionsMouseUpRoot.cs | 38 - ...tationsItemCircleActionsMouseUpRootType.cs | 220 --- ...onsItemCircleActionsMouseUpWarningsItem.cs | 144 -- ...seAnnotationsItemCircleActionsPageClose.cs | 39 - ...notationsItemCircleActionsPageCloseRoot.cs | 38 - ...tionsItemCircleActionsPageCloseRootType.cs | 222 --- ...sItemCircleActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemCircleActionsPageInvisible.cs | 39 - ...tionsItemCircleActionsPageInvisibleRoot.cs | 38 - ...sItemCircleActionsPageInvisibleRootType.cs | 224 --- ...mCircleActionsPageInvisibleWarningsItem.cs | 144 -- ...nseAnnotationsItemCircleActionsPageOpen.cs | 39 - ...nnotationsItemCircleActionsPageOpenRoot.cs | 38 - ...ationsItemCircleActionsPageOpenRootType.cs | 220 --- ...nsItemCircleActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemCircleActionsPageVisible.cs | 39 - ...tationsItemCircleActionsPageVisibleRoot.cs | 38 - ...onsItemCircleActionsPageVisibleRootType.cs | 224 --- ...temCircleActionsPageVisibleWarningsItem.cs | 144 -- ...00ResponseAnnotationsItemFileAttachment.cs | 2 +- ...nseAnnotationsItemFileAttachmentActions.cs | 59 - ...ationsItemFileAttachmentActionsActivate.cs | 39 - ...nsItemFileAttachmentActionsActivateRoot.cs | 38 - ...emFileAttachmentActionsActivateRootType.cs | 224 --- ...leAttachmentActionsActivateWarningsItem.cs | 144 -- ...nnotationsItemFileAttachmentActionsBlur.cs | 39 - ...ationsItemFileAttachmentActionsBlurRoot.cs | 38 - ...nsItemFileAttachmentActionsBlurRootType.cs | 224 --- ...emFileAttachmentActionsBlurWarningsItem.cs | 144 -- ...onsItemFileAttachmentActionsCursorEnter.cs | 39 - ...temFileAttachmentActionsCursorEnterRoot.cs | 38 - ...ileAttachmentActionsCursorEnterRootType.cs | 224 --- ...ttachmentActionsCursorEnterWarningsItem.cs | 144 -- ...ionsItemFileAttachmentActionsCursorExit.cs | 39 - ...ItemFileAttachmentActionsCursorExitRoot.cs | 38 - ...FileAttachmentActionsCursorExitRootType.cs | 224 --- ...AttachmentActionsCursorExitWarningsItem.cs | 144 -- ...notationsItemFileAttachmentActionsFocus.cs | 39 - ...tionsItemFileAttachmentActionsFocusRoot.cs | 38 - ...sItemFileAttachmentActionsFocusRootType.cs | 224 --- ...mFileAttachmentActionsFocusWarningsItem.cs | 144 -- ...tionsItemFileAttachmentActionsMouseDown.cs | 39 - ...sItemFileAttachmentActionsMouseDownRoot.cs | 38 - ...mFileAttachmentActionsMouseDownRootType.cs | 224 --- ...eAttachmentActionsMouseDownWarningsItem.cs | 144 -- ...tationsItemFileAttachmentActionsMouseUp.cs | 39 - ...onsItemFileAttachmentActionsMouseUpRoot.cs | 38 - ...temFileAttachmentActionsMouseUpRootType.cs | 224 --- ...ileAttachmentActionsMouseUpWarningsItem.cs | 144 -- ...tionsItemFileAttachmentActionsPageClose.cs | 39 - ...sItemFileAttachmentActionsPageCloseRoot.cs | 38 - ...mFileAttachmentActionsPageCloseRootType.cs | 224 --- ...eAttachmentActionsPageCloseWarningsItem.cs | 144 -- ...sItemFileAttachmentActionsPageInvisible.cs | 39 - ...mFileAttachmentActionsPageInvisibleRoot.cs | 38 - ...eAttachmentActionsPageInvisibleRootType.cs | 224 --- ...achmentActionsPageInvisibleWarningsItem.cs | 144 -- ...ationsItemFileAttachmentActionsPageOpen.cs | 39 - ...nsItemFileAttachmentActionsPageOpenRoot.cs | 38 - ...emFileAttachmentActionsPageOpenRootType.cs | 224 --- ...leAttachmentActionsPageOpenWarningsItem.cs | 144 -- ...onsItemFileAttachmentActionsPageVisible.cs | 39 - ...temFileAttachmentActionsPageVisibleRoot.cs | 38 - ...ileAttachmentActionsPageVisibleRootType.cs | 224 --- ...ttachmentActionsPageVisibleWarningsItem.cs | 144 -- ...sList200ResponseAnnotationsItemFreeText.cs | 2 +- ...0ResponseAnnotationsItemFreeTextActions.cs | 58 - ...eAnnotationsItemFreeTextActionsActivate.cs | 39 - ...otationsItemFreeTextActionsActivateRoot.cs | 38 - ...ionsItemFreeTextActionsActivateRootType.cs | 222 --- ...ItemFreeTextActionsActivateWarningsItem.cs | 144 -- ...ponseAnnotationsItemFreeTextActionsBlur.cs | 38 - ...eAnnotationsItemFreeTextActionsBlurRoot.cs | 38 - ...otationsItemFreeTextActionsBlurRootType.cs | 220 --- ...ionsItemFreeTextActionsBlurWarningsItem.cs | 142 -- ...notationsItemFreeTextActionsCursorEnter.cs | 39 - ...tionsItemFreeTextActionsCursorEnterRoot.cs | 38 - ...sItemFreeTextActionsCursorEnterRootType.cs | 224 --- ...mFreeTextActionsCursorEnterWarningsItem.cs | 144 -- ...nnotationsItemFreeTextActionsCursorExit.cs | 39 - ...ationsItemFreeTextActionsCursorExitRoot.cs | 38 - ...nsItemFreeTextActionsCursorExitRootType.cs | 224 --- ...emFreeTextActionsCursorExitWarningsItem.cs | 144 -- ...onseAnnotationsItemFreeTextActionsFocus.cs | 38 - ...AnnotationsItemFreeTextActionsFocusRoot.cs | 38 - ...tationsItemFreeTextActionsFocusRootType.cs | 220 --- ...onsItemFreeTextActionsFocusWarningsItem.cs | 144 -- ...AnnotationsItemFreeTextActionsMouseDown.cs | 39 - ...tationsItemFreeTextActionsMouseDownRoot.cs | 38 - ...onsItemFreeTextActionsMouseDownRootType.cs | 224 --- ...temFreeTextActionsMouseDownWarningsItem.cs | 144 -- ...seAnnotationsItemFreeTextActionsMouseUp.cs | 39 - ...notationsItemFreeTextActionsMouseUpRoot.cs | 38 - ...tionsItemFreeTextActionsMouseUpRootType.cs | 222 --- ...sItemFreeTextActionsMouseUpWarningsItem.cs | 144 -- ...AnnotationsItemFreeTextActionsPageClose.cs | 39 - ...tationsItemFreeTextActionsPageCloseRoot.cs | 38 - ...onsItemFreeTextActionsPageCloseRootType.cs | 224 --- ...temFreeTextActionsPageCloseWarningsItem.cs | 144 -- ...tationsItemFreeTextActionsPageInvisible.cs | 39 - ...onsItemFreeTextActionsPageInvisibleRoot.cs | 38 - ...temFreeTextActionsPageInvisibleRootType.cs | 224 --- ...reeTextActionsPageInvisibleWarningsItem.cs | 144 -- ...eAnnotationsItemFreeTextActionsPageOpen.cs | 39 - ...otationsItemFreeTextActionsPageOpenRoot.cs | 38 - ...ionsItemFreeTextActionsPageOpenRootType.cs | 222 --- ...ItemFreeTextActionsPageOpenWarningsItem.cs | 144 -- ...notationsItemFreeTextActionsPageVisible.cs | 39 - ...tionsItemFreeTextActionsPageVisibleRoot.cs | 38 - ...sItemFreeTextActionsPageVisibleRootType.cs | 224 --- ...mFreeTextActionsPageVisibleWarningsItem.cs | 144 -- ...List200ResponseAnnotationsItemHighlight.cs | 2 +- ...ResponseAnnotationsItemHighlightActions.cs | 58 - ...AnnotationsItemHighlightActionsActivate.cs | 39 - ...tationsItemHighlightActionsActivateRoot.cs | 38 - ...onsItemHighlightActionsActivateRootType.cs | 224 --- ...temHighlightActionsActivateWarningsItem.cs | 144 -- ...onseAnnotationsItemHighlightActionsBlur.cs | 38 - ...AnnotationsItemHighlightActionsBlurRoot.cs | 38 - ...tationsItemHighlightActionsBlurRootType.cs | 220 --- ...onsItemHighlightActionsBlurWarningsItem.cs | 144 -- ...otationsItemHighlightActionsCursorEnter.cs | 39 - ...ionsItemHighlightActionsCursorEnterRoot.cs | 38 - ...ItemHighlightActionsCursorEnterRootType.cs | 224 --- ...HighlightActionsCursorEnterWarningsItem.cs | 144 -- ...notationsItemHighlightActionsCursorExit.cs | 39 - ...tionsItemHighlightActionsCursorExitRoot.cs | 38 - ...sItemHighlightActionsCursorExitRootType.cs | 224 --- ...mHighlightActionsCursorExitWarningsItem.cs | 144 -- ...nseAnnotationsItemHighlightActionsFocus.cs | 39 - ...nnotationsItemHighlightActionsFocusRoot.cs | 38 - ...ationsItemHighlightActionsFocusRootType.cs | 220 --- ...nsItemHighlightActionsFocusWarningsItem.cs | 144 -- ...nnotationsItemHighlightActionsMouseDown.cs | 39 - ...ationsItemHighlightActionsMouseDownRoot.cs | 38 - ...nsItemHighlightActionsMouseDownRootType.cs | 224 --- ...emHighlightActionsMouseDownWarningsItem.cs | 144 -- ...eAnnotationsItemHighlightActionsMouseUp.cs | 39 - ...otationsItemHighlightActionsMouseUpRoot.cs | 38 - ...ionsItemHighlightActionsMouseUpRootType.cs | 222 --- ...ItemHighlightActionsMouseUpWarningsItem.cs | 144 -- ...nnotationsItemHighlightActionsPageClose.cs | 39 - ...ationsItemHighlightActionsPageCloseRoot.cs | 38 - ...nsItemHighlightActionsPageCloseRootType.cs | 224 --- ...emHighlightActionsPageCloseWarningsItem.cs | 144 -- ...ationsItemHighlightActionsPageInvisible.cs | 39 - ...nsItemHighlightActionsPageInvisibleRoot.cs | 38 - ...emHighlightActionsPageInvisibleRootType.cs | 224 --- ...ghlightActionsPageInvisibleWarningsItem.cs | 144 -- ...AnnotationsItemHighlightActionsPageOpen.cs | 39 - ...tationsItemHighlightActionsPageOpenRoot.cs | 38 - ...onsItemHighlightActionsPageOpenRootType.cs | 224 --- ...temHighlightActionsPageOpenWarningsItem.cs | 144 -- ...otationsItemHighlightActionsPageVisible.cs | 39 - ...ionsItemHighlightActionsPageVisibleRoot.cs | 38 - ...ItemHighlightActionsPageVisibleRootType.cs | 224 --- ...HighlightActionsPageVisibleWarningsItem.cs | 144 -- ...ationsList200ResponseAnnotationsItemInk.cs | 2 +- ...ist200ResponseAnnotationsItemInkActions.cs | 58 - ...sponseAnnotationsItemInkActionsActivate.cs | 38 - ...seAnnotationsItemInkActionsActivateRoot.cs | 38 - ...notationsItemInkActionsActivateRootType.cs | 220 --- ...tionsItemInkActionsActivateWarningsItem.cs | 142 -- ...00ResponseAnnotationsItemInkActionsBlur.cs | 38 - ...sponseAnnotationsItemInkActionsBlurRoot.cs | 37 - ...seAnnotationsItemInkActionsBlurRootType.cs | 220 --- ...notationsItemInkActionsBlurWarningsItem.cs | 140 -- ...nseAnnotationsItemInkActionsCursorEnter.cs | 39 - ...nnotationsItemInkActionsCursorEnterRoot.cs | 38 - ...ationsItemInkActionsCursorEnterRootType.cs | 220 --- ...nsItemInkActionsCursorEnterWarningsItem.cs | 144 -- ...onseAnnotationsItemInkActionsCursorExit.cs | 38 - ...AnnotationsItemInkActionsCursorExitRoot.cs | 38 - ...tationsItemInkActionsCursorExitRootType.cs | 220 --- ...onsItemInkActionsCursorExitWarningsItem.cs | 144 -- ...0ResponseAnnotationsItemInkActionsFocus.cs | 38 - ...ponseAnnotationsItemInkActionsFocusRoot.cs | 37 - ...eAnnotationsItemInkActionsFocusRootType.cs | 220 --- ...otationsItemInkActionsFocusWarningsItem.cs | 140 -- ...ponseAnnotationsItemInkActionsMouseDown.cs | 38 - ...eAnnotationsItemInkActionsMouseDownRoot.cs | 38 - ...otationsItemInkActionsMouseDownRootType.cs | 220 --- ...ionsItemInkActionsMouseDownWarningsItem.cs | 142 -- ...esponseAnnotationsItemInkActionsMouseUp.cs | 38 - ...nseAnnotationsItemInkActionsMouseUpRoot.cs | 38 - ...nnotationsItemInkActionsMouseUpRootType.cs | 220 --- ...ationsItemInkActionsMouseUpWarningsItem.cs | 140 -- ...ponseAnnotationsItemInkActionsPageClose.cs | 38 - ...eAnnotationsItemInkActionsPageCloseRoot.cs | 38 - ...otationsItemInkActionsPageCloseRootType.cs | 220 --- ...ionsItemInkActionsPageCloseWarningsItem.cs | 142 -- ...eAnnotationsItemInkActionsPageInvisible.cs | 39 - ...otationsItemInkActionsPageInvisibleRoot.cs | 38 - ...ionsItemInkActionsPageInvisibleRootType.cs | 222 --- ...ItemInkActionsPageInvisibleWarningsItem.cs | 144 -- ...sponseAnnotationsItemInkActionsPageOpen.cs | 38 - ...seAnnotationsItemInkActionsPageOpenRoot.cs | 38 - ...notationsItemInkActionsPageOpenRootType.cs | 220 --- ...tionsItemInkActionsPageOpenWarningsItem.cs | 142 -- ...nseAnnotationsItemInkActionsPageVisible.cs | 39 - ...nnotationsItemInkActionsPageVisibleRoot.cs | 38 - ...ationsItemInkActionsPageVisibleRootType.cs | 220 --- ...nsItemInkActionsPageVisibleWarningsItem.cs | 144 -- ...tionsList200ResponseAnnotationsItemLine.cs | 2 +- ...st200ResponseAnnotationsItemLineActions.cs | 58 - ...ponseAnnotationsItemLineActionsActivate.cs | 38 - ...eAnnotationsItemLineActionsActivateRoot.cs | 38 - ...otationsItemLineActionsActivateRootType.cs | 220 --- ...ionsItemLineActionsActivateWarningsItem.cs | 142 -- ...0ResponseAnnotationsItemLineActionsBlur.cs | 38 - ...ponseAnnotationsItemLineActionsBlurRoot.cs | 37 - ...eAnnotationsItemLineActionsBlurRootType.cs | 220 --- ...otationsItemLineActionsBlurWarningsItem.cs | 140 -- ...seAnnotationsItemLineActionsCursorEnter.cs | 39 - ...notationsItemLineActionsCursorEnterRoot.cs | 38 - ...tionsItemLineActionsCursorEnterRootType.cs | 222 --- ...sItemLineActionsCursorEnterWarningsItem.cs | 144 -- ...nseAnnotationsItemLineActionsCursorExit.cs | 39 - ...nnotationsItemLineActionsCursorExitRoot.cs | 38 - ...ationsItemLineActionsCursorExitRootType.cs | 220 --- ...nsItemLineActionsCursorExitWarningsItem.cs | 144 -- ...ResponseAnnotationsItemLineActionsFocus.cs | 38 - ...onseAnnotationsItemLineActionsFocusRoot.cs | 37 - ...AnnotationsItemLineActionsFocusRootType.cs | 220 --- ...tationsItemLineActionsFocusWarningsItem.cs | 140 -- ...onseAnnotationsItemLineActionsMouseDown.cs | 38 - ...AnnotationsItemLineActionsMouseDownRoot.cs | 38 - ...tationsItemLineActionsMouseDownRootType.cs | 220 --- ...onsItemLineActionsMouseDownWarningsItem.cs | 144 -- ...sponseAnnotationsItemLineActionsMouseUp.cs | 38 - ...seAnnotationsItemLineActionsMouseUpRoot.cs | 38 - ...notationsItemLineActionsMouseUpRootType.cs | 220 --- ...tionsItemLineActionsMouseUpWarningsItem.cs | 142 -- ...onseAnnotationsItemLineActionsPageClose.cs | 38 - ...AnnotationsItemLineActionsPageCloseRoot.cs | 38 - ...tationsItemLineActionsPageCloseRootType.cs | 220 --- ...onsItemLineActionsPageCloseWarningsItem.cs | 144 -- ...AnnotationsItemLineActionsPageInvisible.cs | 39 - ...tationsItemLineActionsPageInvisibleRoot.cs | 38 - ...onsItemLineActionsPageInvisibleRootType.cs | 224 --- ...temLineActionsPageInvisibleWarningsItem.cs | 144 -- ...ponseAnnotationsItemLineActionsPageOpen.cs | 38 - ...eAnnotationsItemLineActionsPageOpenRoot.cs | 38 - ...otationsItemLineActionsPageOpenRootType.cs | 220 --- ...ionsItemLineActionsPageOpenWarningsItem.cs | 142 -- ...seAnnotationsItemLineActionsPageVisible.cs | 39 - ...notationsItemLineActionsPageVisibleRoot.cs | 38 - ...tionsItemLineActionsPageVisibleRootType.cs | 222 --- ...sItemLineActionsPageVisibleWarningsItem.cs | 144 -- ...tionsList200ResponseAnnotationsItemLink.cs | 2 +- ...st200ResponseAnnotationsItemLinkActions.cs | 58 - ...ponseAnnotationsItemLinkActionsActivate.cs | 38 - ...eAnnotationsItemLinkActionsActivateRoot.cs | 38 - ...otationsItemLinkActionsActivateRootType.cs | 220 --- ...ionsItemLinkActionsActivateWarningsItem.cs | 142 -- ...0ResponseAnnotationsItemLinkActionsBlur.cs | 38 - ...ponseAnnotationsItemLinkActionsBlurRoot.cs | 37 - ...eAnnotationsItemLinkActionsBlurRootType.cs | 220 --- ...otationsItemLinkActionsBlurWarningsItem.cs | 140 -- ...seAnnotationsItemLinkActionsCursorEnter.cs | 39 - ...notationsItemLinkActionsCursorEnterRoot.cs | 38 - ...tionsItemLinkActionsCursorEnterRootType.cs | 222 --- ...sItemLinkActionsCursorEnterWarningsItem.cs | 144 -- ...nseAnnotationsItemLinkActionsCursorExit.cs | 39 - ...nnotationsItemLinkActionsCursorExitRoot.cs | 38 - ...ationsItemLinkActionsCursorExitRootType.cs | 220 --- ...nsItemLinkActionsCursorExitWarningsItem.cs | 144 -- ...ResponseAnnotationsItemLinkActionsFocus.cs | 38 - ...onseAnnotationsItemLinkActionsFocusRoot.cs | 37 - ...AnnotationsItemLinkActionsFocusRootType.cs | 220 --- ...tationsItemLinkActionsFocusWarningsItem.cs | 140 -- ...onseAnnotationsItemLinkActionsMouseDown.cs | 38 - ...AnnotationsItemLinkActionsMouseDownRoot.cs | 38 - ...tationsItemLinkActionsMouseDownRootType.cs | 220 --- ...onsItemLinkActionsMouseDownWarningsItem.cs | 144 -- ...sponseAnnotationsItemLinkActionsMouseUp.cs | 38 - ...seAnnotationsItemLinkActionsMouseUpRoot.cs | 38 - ...notationsItemLinkActionsMouseUpRootType.cs | 220 --- ...tionsItemLinkActionsMouseUpWarningsItem.cs | 142 -- ...onseAnnotationsItemLinkActionsPageClose.cs | 38 - ...AnnotationsItemLinkActionsPageCloseRoot.cs | 38 - ...tationsItemLinkActionsPageCloseRootType.cs | 220 --- ...onsItemLinkActionsPageCloseWarningsItem.cs | 144 -- ...AnnotationsItemLinkActionsPageInvisible.cs | 39 - ...tationsItemLinkActionsPageInvisibleRoot.cs | 38 - ...onsItemLinkActionsPageInvisibleRootType.cs | 224 --- ...temLinkActionsPageInvisibleWarningsItem.cs | 144 -- ...ponseAnnotationsItemLinkActionsPageOpen.cs | 38 - ...eAnnotationsItemLinkActionsPageOpenRoot.cs | 38 - ...otationsItemLinkActionsPageOpenRootType.cs | 220 --- ...ionsItemLinkActionsPageOpenWarningsItem.cs | 142 -- ...seAnnotationsItemLinkActionsPageVisible.cs | 39 - ...notationsItemLinkActionsPageVisibleRoot.cs | 38 - ...tionsItemLinkActionsPageVisibleRootType.cs | 222 --- ...sItemLinkActionsPageVisibleWarningsItem.cs | 144 -- ...00ResponseAnnotationsItemLinkTargetGoto.cs | 2 +- ...nnotationsItemLinkTargetGotoDestination.cs | 864 ---------- ...nsList200ResponseAnnotationsItemPolygon.cs | 2 +- ...00ResponseAnnotationsItemPolygonActions.cs | 58 - ...seAnnotationsItemPolygonActionsActivate.cs | 39 - ...notationsItemPolygonActionsActivateRoot.cs | 38 - ...tionsItemPolygonActionsActivateRootType.cs | 222 --- ...sItemPolygonActionsActivateWarningsItem.cs | 144 -- ...sponseAnnotationsItemPolygonActionsBlur.cs | 38 - ...seAnnotationsItemPolygonActionsBlurRoot.cs | 38 - ...notationsItemPolygonActionsBlurRootType.cs | 220 --- ...tionsItemPolygonActionsBlurWarningsItem.cs | 142 -- ...nnotationsItemPolygonActionsCursorEnter.cs | 39 - ...ationsItemPolygonActionsCursorEnterRoot.cs | 38 - ...nsItemPolygonActionsCursorEnterRootType.cs | 224 --- ...emPolygonActionsCursorEnterWarningsItem.cs | 144 -- ...AnnotationsItemPolygonActionsCursorExit.cs | 39 - ...tationsItemPolygonActionsCursorExitRoot.cs | 38 - ...onsItemPolygonActionsCursorExitRootType.cs | 224 --- ...temPolygonActionsCursorExitWarningsItem.cs | 144 -- ...ponseAnnotationsItemPolygonActionsFocus.cs | 38 - ...eAnnotationsItemPolygonActionsFocusRoot.cs | 38 - ...otationsItemPolygonActionsFocusRootType.cs | 220 --- ...ionsItemPolygonActionsFocusWarningsItem.cs | 142 -- ...eAnnotationsItemPolygonActionsMouseDown.cs | 39 - ...otationsItemPolygonActionsMouseDownRoot.cs | 38 - ...ionsItemPolygonActionsMouseDownRootType.cs | 222 --- ...ItemPolygonActionsMouseDownWarningsItem.cs | 144 -- ...nseAnnotationsItemPolygonActionsMouseUp.cs | 39 - ...nnotationsItemPolygonActionsMouseUpRoot.cs | 38 - ...ationsItemPolygonActionsMouseUpRootType.cs | 220 --- ...nsItemPolygonActionsMouseUpWarningsItem.cs | 144 -- ...eAnnotationsItemPolygonActionsPageClose.cs | 39 - ...otationsItemPolygonActionsPageCloseRoot.cs | 38 - ...ionsItemPolygonActionsPageCloseRootType.cs | 222 --- ...ItemPolygonActionsPageCloseWarningsItem.cs | 144 -- ...otationsItemPolygonActionsPageInvisible.cs | 39 - ...ionsItemPolygonActionsPageInvisibleRoot.cs | 38 - ...ItemPolygonActionsPageInvisibleRootType.cs | 224 --- ...PolygonActionsPageInvisibleWarningsItem.cs | 144 -- ...seAnnotationsItemPolygonActionsPageOpen.cs | 39 - ...notationsItemPolygonActionsPageOpenRoot.cs | 38 - ...tionsItemPolygonActionsPageOpenRootType.cs | 222 --- ...sItemPolygonActionsPageOpenWarningsItem.cs | 144 -- ...nnotationsItemPolygonActionsPageVisible.cs | 39 - ...ationsItemPolygonActionsPageVisibleRoot.cs | 38 - ...nsItemPolygonActionsPageVisibleRootType.cs | 224 --- ...emPolygonActionsPageVisibleWarningsItem.cs | 144 -- ...sList200ResponseAnnotationsItemPolyline.cs | 2 +- ...0ResponseAnnotationsItemPolylineActions.cs | 58 - ...eAnnotationsItemPolylineActionsActivate.cs | 39 - ...otationsItemPolylineActionsActivateRoot.cs | 38 - ...ionsItemPolylineActionsActivateRootType.cs | 222 --- ...ItemPolylineActionsActivateWarningsItem.cs | 144 -- ...ponseAnnotationsItemPolylineActionsBlur.cs | 38 - ...eAnnotationsItemPolylineActionsBlurRoot.cs | 38 - ...otationsItemPolylineActionsBlurRootType.cs | 220 --- ...ionsItemPolylineActionsBlurWarningsItem.cs | 142 -- ...notationsItemPolylineActionsCursorEnter.cs | 39 - ...tionsItemPolylineActionsCursorEnterRoot.cs | 38 - ...sItemPolylineActionsCursorEnterRootType.cs | 224 --- ...mPolylineActionsCursorEnterWarningsItem.cs | 144 -- ...nnotationsItemPolylineActionsCursorExit.cs | 39 - ...ationsItemPolylineActionsCursorExitRoot.cs | 38 - ...nsItemPolylineActionsCursorExitRootType.cs | 224 --- ...emPolylineActionsCursorExitWarningsItem.cs | 144 -- ...onseAnnotationsItemPolylineActionsFocus.cs | 38 - ...AnnotationsItemPolylineActionsFocusRoot.cs | 38 - ...tationsItemPolylineActionsFocusRootType.cs | 220 --- ...onsItemPolylineActionsFocusWarningsItem.cs | 144 -- ...AnnotationsItemPolylineActionsMouseDown.cs | 39 - ...tationsItemPolylineActionsMouseDownRoot.cs | 38 - ...onsItemPolylineActionsMouseDownRootType.cs | 224 --- ...temPolylineActionsMouseDownWarningsItem.cs | 144 -- ...seAnnotationsItemPolylineActionsMouseUp.cs | 39 - ...notationsItemPolylineActionsMouseUpRoot.cs | 38 - ...tionsItemPolylineActionsMouseUpRootType.cs | 222 --- ...sItemPolylineActionsMouseUpWarningsItem.cs | 144 -- ...AnnotationsItemPolylineActionsPageClose.cs | 39 - ...tationsItemPolylineActionsPageCloseRoot.cs | 38 - ...onsItemPolylineActionsPageCloseRootType.cs | 224 --- ...temPolylineActionsPageCloseWarningsItem.cs | 144 -- ...tationsItemPolylineActionsPageInvisible.cs | 39 - ...onsItemPolylineActionsPageInvisibleRoot.cs | 38 - ...temPolylineActionsPageInvisibleRootType.cs | 224 --- ...olylineActionsPageInvisibleWarningsItem.cs | 144 -- ...eAnnotationsItemPolylineActionsPageOpen.cs | 39 - ...otationsItemPolylineActionsPageOpenRoot.cs | 38 - ...ionsItemPolylineActionsPageOpenRootType.cs | 222 --- ...ItemPolylineActionsPageOpenWarningsItem.cs | 144 -- ...notationsItemPolylineActionsPageVisible.cs | 39 - ...tionsItemPolylineActionsPageVisibleRoot.cs | 38 - ...sItemPolylineActionsPageVisibleRootType.cs | 224 --- ...mPolylineActionsPageVisibleWarningsItem.cs | 144 -- ...onsList200ResponseAnnotationsItemRedact.cs | 2 +- ...200ResponseAnnotationsItemRedactActions.cs | 58 - ...nseAnnotationsItemRedactActionsActivate.cs | 39 - ...nnotationsItemRedactActionsActivateRoot.cs | 38 - ...ationsItemRedactActionsActivateRootType.cs | 220 --- ...nsItemRedactActionsActivateWarningsItem.cs | 144 -- ...esponseAnnotationsItemRedactActionsBlur.cs | 38 - ...nseAnnotationsItemRedactActionsBlurRoot.cs | 38 - ...nnotationsItemRedactActionsBlurRootType.cs | 220 --- ...ationsItemRedactActionsBlurWarningsItem.cs | 140 -- ...AnnotationsItemRedactActionsCursorEnter.cs | 39 - ...tationsItemRedactActionsCursorEnterRoot.cs | 38 - ...onsItemRedactActionsCursorEnterRootType.cs | 224 --- ...temRedactActionsCursorEnterWarningsItem.cs | 144 -- ...eAnnotationsItemRedactActionsCursorExit.cs | 39 - ...otationsItemRedactActionsCursorExitRoot.cs | 38 - ...ionsItemRedactActionsCursorExitRootType.cs | 222 --- ...ItemRedactActionsCursorExitWarningsItem.cs | 144 -- ...sponseAnnotationsItemRedactActionsFocus.cs | 38 - ...seAnnotationsItemRedactActionsFocusRoot.cs | 38 - ...notationsItemRedactActionsFocusRootType.cs | 220 --- ...tionsItemRedactActionsFocusWarningsItem.cs | 142 -- ...seAnnotationsItemRedactActionsMouseDown.cs | 39 - ...notationsItemRedactActionsMouseDownRoot.cs | 38 - ...tionsItemRedactActionsMouseDownRootType.cs | 222 --- ...sItemRedactActionsMouseDownWarningsItem.cs | 144 -- ...onseAnnotationsItemRedactActionsMouseUp.cs | 38 - ...AnnotationsItemRedactActionsMouseUpRoot.cs | 38 - ...tationsItemRedactActionsMouseUpRootType.cs | 220 --- ...onsItemRedactActionsMouseUpWarningsItem.cs | 144 -- ...seAnnotationsItemRedactActionsPageClose.cs | 39 - ...notationsItemRedactActionsPageCloseRoot.cs | 38 - ...tionsItemRedactActionsPageCloseRootType.cs | 222 --- ...sItemRedactActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemRedactActionsPageInvisible.cs | 39 - ...tionsItemRedactActionsPageInvisibleRoot.cs | 38 - ...sItemRedactActionsPageInvisibleRootType.cs | 224 --- ...mRedactActionsPageInvisibleWarningsItem.cs | 144 -- ...nseAnnotationsItemRedactActionsPageOpen.cs | 39 - ...nnotationsItemRedactActionsPageOpenRoot.cs | 38 - ...ationsItemRedactActionsPageOpenRootType.cs | 220 --- ...nsItemRedactActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemRedactActionsPageVisible.cs | 39 - ...tationsItemRedactActionsPageVisibleRoot.cs | 38 - ...onsItemRedactActionsPageVisibleRootType.cs | 224 --- ...temRedactActionsPageVisibleWarningsItem.cs | 144 -- ...onsList200ResponseAnnotationsItemSquare.cs | 2 +- ...200ResponseAnnotationsItemSquareActions.cs | 58 - ...nseAnnotationsItemSquareActionsActivate.cs | 39 - ...nnotationsItemSquareActionsActivateRoot.cs | 38 - ...ationsItemSquareActionsActivateRootType.cs | 220 --- ...nsItemSquareActionsActivateWarningsItem.cs | 144 -- ...esponseAnnotationsItemSquareActionsBlur.cs | 38 - ...nseAnnotationsItemSquareActionsBlurRoot.cs | 38 - ...nnotationsItemSquareActionsBlurRootType.cs | 220 --- ...ationsItemSquareActionsBlurWarningsItem.cs | 140 -- ...AnnotationsItemSquareActionsCursorEnter.cs | 39 - ...tationsItemSquareActionsCursorEnterRoot.cs | 38 - ...onsItemSquareActionsCursorEnterRootType.cs | 224 --- ...temSquareActionsCursorEnterWarningsItem.cs | 144 -- ...eAnnotationsItemSquareActionsCursorExit.cs | 39 - ...otationsItemSquareActionsCursorExitRoot.cs | 38 - ...ionsItemSquareActionsCursorExitRootType.cs | 222 --- ...ItemSquareActionsCursorExitWarningsItem.cs | 144 -- ...sponseAnnotationsItemSquareActionsFocus.cs | 38 - ...seAnnotationsItemSquareActionsFocusRoot.cs | 38 - ...notationsItemSquareActionsFocusRootType.cs | 220 --- ...tionsItemSquareActionsFocusWarningsItem.cs | 142 -- ...seAnnotationsItemSquareActionsMouseDown.cs | 39 - ...notationsItemSquareActionsMouseDownRoot.cs | 38 - ...tionsItemSquareActionsMouseDownRootType.cs | 222 --- ...sItemSquareActionsMouseDownWarningsItem.cs | 144 -- ...onseAnnotationsItemSquareActionsMouseUp.cs | 38 - ...AnnotationsItemSquareActionsMouseUpRoot.cs | 38 - ...tationsItemSquareActionsMouseUpRootType.cs | 220 --- ...onsItemSquareActionsMouseUpWarningsItem.cs | 144 -- ...seAnnotationsItemSquareActionsPageClose.cs | 39 - ...notationsItemSquareActionsPageCloseRoot.cs | 38 - ...tionsItemSquareActionsPageCloseRootType.cs | 222 --- ...sItemSquareActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemSquareActionsPageInvisible.cs | 39 - ...tionsItemSquareActionsPageInvisibleRoot.cs | 38 - ...sItemSquareActionsPageInvisibleRootType.cs | 224 --- ...mSquareActionsPageInvisibleWarningsItem.cs | 144 -- ...nseAnnotationsItemSquareActionsPageOpen.cs | 39 - ...nnotationsItemSquareActionsPageOpenRoot.cs | 38 - ...ationsItemSquareActionsPageOpenRootType.cs | 220 --- ...nsItemSquareActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemSquareActionsPageVisible.cs | 39 - ...tationsItemSquareActionsPageVisibleRoot.cs | 38 - ...onsItemSquareActionsPageVisibleRootType.cs | 224 --- ...temSquareActionsPageVisibleWarningsItem.cs | 144 -- ...sList200ResponseAnnotationsItemSquiggly.cs | 2 +- ...0ResponseAnnotationsItemSquigglyActions.cs | 58 - ...eAnnotationsItemSquigglyActionsActivate.cs | 39 - ...otationsItemSquigglyActionsActivateRoot.cs | 38 - ...ionsItemSquigglyActionsActivateRootType.cs | 222 --- ...ItemSquigglyActionsActivateWarningsItem.cs | 144 -- ...ponseAnnotationsItemSquigglyActionsBlur.cs | 38 - ...eAnnotationsItemSquigglyActionsBlurRoot.cs | 38 - ...otationsItemSquigglyActionsBlurRootType.cs | 220 --- ...ionsItemSquigglyActionsBlurWarningsItem.cs | 142 -- ...notationsItemSquigglyActionsCursorEnter.cs | 39 - ...tionsItemSquigglyActionsCursorEnterRoot.cs | 38 - ...sItemSquigglyActionsCursorEnterRootType.cs | 224 --- ...mSquigglyActionsCursorEnterWarningsItem.cs | 144 -- ...nnotationsItemSquigglyActionsCursorExit.cs | 39 - ...ationsItemSquigglyActionsCursorExitRoot.cs | 38 - ...nsItemSquigglyActionsCursorExitRootType.cs | 224 --- ...emSquigglyActionsCursorExitWarningsItem.cs | 144 -- ...onseAnnotationsItemSquigglyActionsFocus.cs | 38 - ...AnnotationsItemSquigglyActionsFocusRoot.cs | 38 - ...tationsItemSquigglyActionsFocusRootType.cs | 220 --- ...onsItemSquigglyActionsFocusWarningsItem.cs | 144 -- ...AnnotationsItemSquigglyActionsMouseDown.cs | 39 - ...tationsItemSquigglyActionsMouseDownRoot.cs | 38 - ...onsItemSquigglyActionsMouseDownRootType.cs | 224 --- ...temSquigglyActionsMouseDownWarningsItem.cs | 144 -- ...seAnnotationsItemSquigglyActionsMouseUp.cs | 39 - ...notationsItemSquigglyActionsMouseUpRoot.cs | 38 - ...tionsItemSquigglyActionsMouseUpRootType.cs | 222 --- ...sItemSquigglyActionsMouseUpWarningsItem.cs | 144 -- ...AnnotationsItemSquigglyActionsPageClose.cs | 39 - ...tationsItemSquigglyActionsPageCloseRoot.cs | 38 - ...onsItemSquigglyActionsPageCloseRootType.cs | 224 --- ...temSquigglyActionsPageCloseWarningsItem.cs | 144 -- ...tationsItemSquigglyActionsPageInvisible.cs | 39 - ...onsItemSquigglyActionsPageInvisibleRoot.cs | 38 - ...temSquigglyActionsPageInvisibleRootType.cs | 224 --- ...quigglyActionsPageInvisibleWarningsItem.cs | 144 -- ...eAnnotationsItemSquigglyActionsPageOpen.cs | 39 - ...otationsItemSquigglyActionsPageOpenRoot.cs | 38 - ...ionsItemSquigglyActionsPageOpenRootType.cs | 222 --- ...ItemSquigglyActionsPageOpenWarningsItem.cs | 144 -- ...notationsItemSquigglyActionsPageVisible.cs | 39 - ...tionsItemSquigglyActionsPageVisibleRoot.cs | 38 - ...sItemSquigglyActionsPageVisibleRootType.cs | 224 --- ...mSquigglyActionsPageVisibleWarningsItem.cs | 144 -- ...ionsList200ResponseAnnotationsItemStamp.cs | 2 +- ...t200ResponseAnnotationsItemStampActions.cs | 58 - ...onseAnnotationsItemStampActionsActivate.cs | 38 - ...AnnotationsItemStampActionsActivateRoot.cs | 38 - ...tationsItemStampActionsActivateRootType.cs | 220 --- ...onsItemStampActionsActivateWarningsItem.cs | 144 -- ...ResponseAnnotationsItemStampActionsBlur.cs | 38 - ...onseAnnotationsItemStampActionsBlurRoot.cs | 37 - ...AnnotationsItemStampActionsBlurRootType.cs | 220 --- ...tationsItemStampActionsBlurWarningsItem.cs | 140 -- ...eAnnotationsItemStampActionsCursorEnter.cs | 39 - ...otationsItemStampActionsCursorEnterRoot.cs | 38 - ...ionsItemStampActionsCursorEnterRootType.cs | 222 --- ...ItemStampActionsCursorEnterWarningsItem.cs | 144 -- ...seAnnotationsItemStampActionsCursorExit.cs | 39 - ...notationsItemStampActionsCursorExitRoot.cs | 38 - ...tionsItemStampActionsCursorExitRootType.cs | 222 --- ...sItemStampActionsCursorExitWarningsItem.cs | 144 -- ...esponseAnnotationsItemStampActionsFocus.cs | 38 - ...nseAnnotationsItemStampActionsFocusRoot.cs | 38 - ...nnotationsItemStampActionsFocusRootType.cs | 220 --- ...ationsItemStampActionsFocusWarningsItem.cs | 140 -- ...nseAnnotationsItemStampActionsMouseDown.cs | 39 - ...nnotationsItemStampActionsMouseDownRoot.cs | 38 - ...ationsItemStampActionsMouseDownRootType.cs | 220 --- ...nsItemStampActionsMouseDownWarningsItem.cs | 144 -- ...ponseAnnotationsItemStampActionsMouseUp.cs | 38 - ...eAnnotationsItemStampActionsMouseUpRoot.cs | 38 - ...otationsItemStampActionsMouseUpRootType.cs | 220 --- ...ionsItemStampActionsMouseUpWarningsItem.cs | 142 -- ...nseAnnotationsItemStampActionsPageClose.cs | 39 - ...nnotationsItemStampActionsPageCloseRoot.cs | 38 - ...ationsItemStampActionsPageCloseRootType.cs | 220 --- ...nsItemStampActionsPageCloseWarningsItem.cs | 144 -- ...nnotationsItemStampActionsPageInvisible.cs | 39 - ...ationsItemStampActionsPageInvisibleRoot.cs | 38 - ...nsItemStampActionsPageInvisibleRootType.cs | 224 --- ...emStampActionsPageInvisibleWarningsItem.cs | 144 -- ...onseAnnotationsItemStampActionsPageOpen.cs | 38 - ...AnnotationsItemStampActionsPageOpenRoot.cs | 38 - ...tationsItemStampActionsPageOpenRootType.cs | 220 --- ...onsItemStampActionsPageOpenWarningsItem.cs | 144 -- ...eAnnotationsItemStampActionsPageVisible.cs | 39 - ...otationsItemStampActionsPageVisibleRoot.cs | 38 - ...ionsItemStampActionsPageVisibleRootType.cs | 222 --- ...ItemStampActionsPageVisibleWarningsItem.cs | 144 -- ...List200ResponseAnnotationsItemStrikeout.cs | 2 +- ...ResponseAnnotationsItemStrikeoutActions.cs | 58 - ...AnnotationsItemStrikeoutActionsActivate.cs | 39 - ...tationsItemStrikeoutActionsActivateRoot.cs | 38 - ...onsItemStrikeoutActionsActivateRootType.cs | 224 --- ...temStrikeoutActionsActivateWarningsItem.cs | 144 -- ...onseAnnotationsItemStrikeoutActionsBlur.cs | 38 - ...AnnotationsItemStrikeoutActionsBlurRoot.cs | 38 - ...tationsItemStrikeoutActionsBlurRootType.cs | 220 --- ...onsItemStrikeoutActionsBlurWarningsItem.cs | 144 -- ...otationsItemStrikeoutActionsCursorEnter.cs | 39 - ...ionsItemStrikeoutActionsCursorEnterRoot.cs | 38 - ...ItemStrikeoutActionsCursorEnterRootType.cs | 224 --- ...StrikeoutActionsCursorEnterWarningsItem.cs | 144 -- ...notationsItemStrikeoutActionsCursorExit.cs | 39 - ...tionsItemStrikeoutActionsCursorExitRoot.cs | 38 - ...sItemStrikeoutActionsCursorExitRootType.cs | 224 --- ...mStrikeoutActionsCursorExitWarningsItem.cs | 144 -- ...nseAnnotationsItemStrikeoutActionsFocus.cs | 39 - ...nnotationsItemStrikeoutActionsFocusRoot.cs | 38 - ...ationsItemStrikeoutActionsFocusRootType.cs | 220 --- ...nsItemStrikeoutActionsFocusWarningsItem.cs | 144 -- ...nnotationsItemStrikeoutActionsMouseDown.cs | 39 - ...ationsItemStrikeoutActionsMouseDownRoot.cs | 38 - ...nsItemStrikeoutActionsMouseDownRootType.cs | 224 --- ...emStrikeoutActionsMouseDownWarningsItem.cs | 144 -- ...eAnnotationsItemStrikeoutActionsMouseUp.cs | 39 - ...otationsItemStrikeoutActionsMouseUpRoot.cs | 38 - ...ionsItemStrikeoutActionsMouseUpRootType.cs | 222 --- ...ItemStrikeoutActionsMouseUpWarningsItem.cs | 144 -- ...nnotationsItemStrikeoutActionsPageClose.cs | 39 - ...ationsItemStrikeoutActionsPageCloseRoot.cs | 38 - ...nsItemStrikeoutActionsPageCloseRootType.cs | 224 --- ...emStrikeoutActionsPageCloseWarningsItem.cs | 144 -- ...ationsItemStrikeoutActionsPageInvisible.cs | 39 - ...nsItemStrikeoutActionsPageInvisibleRoot.cs | 38 - ...emStrikeoutActionsPageInvisibleRootType.cs | 224 --- ...rikeoutActionsPageInvisibleWarningsItem.cs | 144 -- ...AnnotationsItemStrikeoutActionsPageOpen.cs | 39 - ...tationsItemStrikeoutActionsPageOpenRoot.cs | 38 - ...onsItemStrikeoutActionsPageOpenRootType.cs | 224 --- ...temStrikeoutActionsPageOpenWarningsItem.cs | 144 -- ...otationsItemStrikeoutActionsPageVisible.cs | 39 - ...ionsItemStrikeoutActionsPageVisibleRoot.cs | 38 - ...ItemStrikeoutActionsPageVisibleRootType.cs | 224 --- ...StrikeoutActionsPageVisibleWarningsItem.cs | 144 -- ...tionsList200ResponseAnnotationsItemText.cs | 2 +- ...st200ResponseAnnotationsItemTextActions.cs | 58 - ...ponseAnnotationsItemTextActionsActivate.cs | 38 - ...eAnnotationsItemTextActionsActivateRoot.cs | 38 - ...otationsItemTextActionsActivateRootType.cs | 220 --- ...ionsItemTextActionsActivateWarningsItem.cs | 142 -- ...0ResponseAnnotationsItemTextActionsBlur.cs | 38 - ...ponseAnnotationsItemTextActionsBlurRoot.cs | 37 - ...eAnnotationsItemTextActionsBlurRootType.cs | 220 --- ...otationsItemTextActionsBlurWarningsItem.cs | 140 -- ...seAnnotationsItemTextActionsCursorEnter.cs | 39 - ...notationsItemTextActionsCursorEnterRoot.cs | 38 - ...tionsItemTextActionsCursorEnterRootType.cs | 222 --- ...sItemTextActionsCursorEnterWarningsItem.cs | 144 -- ...nseAnnotationsItemTextActionsCursorExit.cs | 39 - ...nnotationsItemTextActionsCursorExitRoot.cs | 38 - ...ationsItemTextActionsCursorExitRootType.cs | 220 --- ...nsItemTextActionsCursorExitWarningsItem.cs | 144 -- ...ResponseAnnotationsItemTextActionsFocus.cs | 38 - ...onseAnnotationsItemTextActionsFocusRoot.cs | 37 - ...AnnotationsItemTextActionsFocusRootType.cs | 220 --- ...tationsItemTextActionsFocusWarningsItem.cs | 140 -- ...onseAnnotationsItemTextActionsMouseDown.cs | 38 - ...AnnotationsItemTextActionsMouseDownRoot.cs | 38 - ...tationsItemTextActionsMouseDownRootType.cs | 220 --- ...onsItemTextActionsMouseDownWarningsItem.cs | 144 -- ...sponseAnnotationsItemTextActionsMouseUp.cs | 38 - ...seAnnotationsItemTextActionsMouseUpRoot.cs | 38 - ...notationsItemTextActionsMouseUpRootType.cs | 220 --- ...tionsItemTextActionsMouseUpWarningsItem.cs | 142 -- ...onseAnnotationsItemTextActionsPageClose.cs | 38 - ...AnnotationsItemTextActionsPageCloseRoot.cs | 38 - ...tationsItemTextActionsPageCloseRootType.cs | 220 --- ...onsItemTextActionsPageCloseWarningsItem.cs | 144 -- ...AnnotationsItemTextActionsPageInvisible.cs | 39 - ...tationsItemTextActionsPageInvisibleRoot.cs | 38 - ...onsItemTextActionsPageInvisibleRootType.cs | 224 --- ...temTextActionsPageInvisibleWarningsItem.cs | 144 -- ...ponseAnnotationsItemTextActionsPageOpen.cs | 38 - ...eAnnotationsItemTextActionsPageOpenRoot.cs | 38 - ...otationsItemTextActionsPageOpenRootType.cs | 220 --- ...ionsItemTextActionsPageOpenWarningsItem.cs | 142 -- ...seAnnotationsItemTextActionsPageVisible.cs | 39 - ...notationsItemTextActionsPageVisibleRoot.cs | 38 - ...tionsItemTextActionsPageVisibleRootType.cs | 222 --- ...sItemTextActionsPageVisibleWarningsItem.cs | 144 -- ...List200ResponseAnnotationsItemUnderline.cs | 2 +- ...ResponseAnnotationsItemUnderlineActions.cs | 58 - ...AnnotationsItemUnderlineActionsActivate.cs | 39 - ...tationsItemUnderlineActionsActivateRoot.cs | 38 - ...onsItemUnderlineActionsActivateRootType.cs | 224 --- ...temUnderlineActionsActivateWarningsItem.cs | 144 -- ...onseAnnotationsItemUnderlineActionsBlur.cs | 38 - ...AnnotationsItemUnderlineActionsBlurRoot.cs | 38 - ...tationsItemUnderlineActionsBlurRootType.cs | 220 --- ...onsItemUnderlineActionsBlurWarningsItem.cs | 144 -- ...otationsItemUnderlineActionsCursorEnter.cs | 39 - ...ionsItemUnderlineActionsCursorEnterRoot.cs | 38 - ...ItemUnderlineActionsCursorEnterRootType.cs | 224 --- ...UnderlineActionsCursorEnterWarningsItem.cs | 144 -- ...notationsItemUnderlineActionsCursorExit.cs | 39 - ...tionsItemUnderlineActionsCursorExitRoot.cs | 38 - ...sItemUnderlineActionsCursorExitRootType.cs | 224 --- ...mUnderlineActionsCursorExitWarningsItem.cs | 144 -- ...nseAnnotationsItemUnderlineActionsFocus.cs | 39 - ...nnotationsItemUnderlineActionsFocusRoot.cs | 38 - ...ationsItemUnderlineActionsFocusRootType.cs | 220 --- ...nsItemUnderlineActionsFocusWarningsItem.cs | 144 -- ...nnotationsItemUnderlineActionsMouseDown.cs | 39 - ...ationsItemUnderlineActionsMouseDownRoot.cs | 38 - ...nsItemUnderlineActionsMouseDownRootType.cs | 224 --- ...emUnderlineActionsMouseDownWarningsItem.cs | 144 -- ...eAnnotationsItemUnderlineActionsMouseUp.cs | 39 - ...otationsItemUnderlineActionsMouseUpRoot.cs | 38 - ...ionsItemUnderlineActionsMouseUpRootType.cs | 222 --- ...ItemUnderlineActionsMouseUpWarningsItem.cs | 144 -- ...nnotationsItemUnderlineActionsPageClose.cs | 39 - ...ationsItemUnderlineActionsPageCloseRoot.cs | 38 - ...nsItemUnderlineActionsPageCloseRootType.cs | 224 --- ...emUnderlineActionsPageCloseWarningsItem.cs | 144 -- ...ationsItemUnderlineActionsPageInvisible.cs | 39 - ...nsItemUnderlineActionsPageInvisibleRoot.cs | 38 - ...emUnderlineActionsPageInvisibleRootType.cs | 224 --- ...derlineActionsPageInvisibleWarningsItem.cs | 144 -- ...AnnotationsItemUnderlineActionsPageOpen.cs | 39 - ...tationsItemUnderlineActionsPageOpenRoot.cs | 38 - ...onsItemUnderlineActionsPageOpenRootType.cs | 224 --- ...temUnderlineActionsPageOpenWarningsItem.cs | 144 -- ...otationsItemUnderlineActionsPageVisible.cs | 39 - ...ionsItemUnderlineActionsPageVisibleRoot.cs | 38 - ...ItemUnderlineActionsPageVisibleRootType.cs | 224 --- ...UnderlineActionsPageVisibleWarningsItem.cs | 144 -- ...st200ResponseAnnotationsItemUnsupported.cs | 2 +- ...sponseAnnotationsItemUnsupportedActions.cs | 58 - ...notationsItemUnsupportedActionsActivate.cs | 39 - ...tionsItemUnsupportedActionsActivateRoot.cs | 38 - ...sItemUnsupportedActionsActivateRootType.cs | 224 --- ...mUnsupportedActionsActivateWarningsItem.cs | 144 -- ...seAnnotationsItemUnsupportedActionsBlur.cs | 39 - ...notationsItemUnsupportedActionsBlurRoot.cs | 38 - ...tionsItemUnsupportedActionsBlurRootType.cs | 222 --- ...sItemUnsupportedActionsBlurWarningsItem.cs | 144 -- ...ationsItemUnsupportedActionsCursorEnter.cs | 39 - ...nsItemUnsupportedActionsCursorEnterRoot.cs | 38 - ...emUnsupportedActionsCursorEnterRootType.cs | 224 --- ...supportedActionsCursorEnterWarningsItem.cs | 144 -- ...tationsItemUnsupportedActionsCursorExit.cs | 39 - ...onsItemUnsupportedActionsCursorExitRoot.cs | 38 - ...temUnsupportedActionsCursorExitRootType.cs | 224 --- ...nsupportedActionsCursorExitWarningsItem.cs | 144 -- ...eAnnotationsItemUnsupportedActionsFocus.cs | 39 - ...otationsItemUnsupportedActionsFocusRoot.cs | 38 - ...ionsItemUnsupportedActionsFocusRootType.cs | 222 --- ...ItemUnsupportedActionsFocusWarningsItem.cs | 144 -- ...otationsItemUnsupportedActionsMouseDown.cs | 39 - ...ionsItemUnsupportedActionsMouseDownRoot.cs | 38 - ...ItemUnsupportedActionsMouseDownRootType.cs | 224 --- ...UnsupportedActionsMouseDownWarningsItem.cs | 144 -- ...nnotationsItemUnsupportedActionsMouseUp.cs | 39 - ...ationsItemUnsupportedActionsMouseUpRoot.cs | 38 - ...nsItemUnsupportedActionsMouseUpRootType.cs | 224 --- ...emUnsupportedActionsMouseUpWarningsItem.cs | 144 -- ...otationsItemUnsupportedActionsPageClose.cs | 39 - ...ionsItemUnsupportedActionsPageCloseRoot.cs | 38 - ...ItemUnsupportedActionsPageCloseRootType.cs | 224 --- ...UnsupportedActionsPageCloseWarningsItem.cs | 144 -- ...ionsItemUnsupportedActionsPageInvisible.cs | 39 - ...ItemUnsupportedActionsPageInvisibleRoot.cs | 38 - ...UnsupportedActionsPageInvisibleRootType.cs | 224 --- ...pportedActionsPageInvisibleWarningsItem.cs | 144 -- ...notationsItemUnsupportedActionsPageOpen.cs | 39 - ...tionsItemUnsupportedActionsPageOpenRoot.cs | 38 - ...sItemUnsupportedActionsPageOpenRootType.cs | 224 --- ...mUnsupportedActionsPageOpenWarningsItem.cs | 144 -- ...ationsItemUnsupportedActionsPageVisible.cs | 39 - ...nsItemUnsupportedActionsPageVisibleRoot.cs | 38 - ...emUnsupportedActionsPageVisibleRootType.cs | 224 --- ...supportedActionsPageVisibleWarningsItem.cs | 144 -- ...onsList200ResponseAnnotationsItemWidget.cs | 2 +- ...200ResponseAnnotationsItemWidgetActions.cs | 58 - ...nseAnnotationsItemWidgetActionsActivate.cs | 39 - ...nnotationsItemWidgetActionsActivateRoot.cs | 38 - ...ationsItemWidgetActionsActivateRootType.cs | 220 --- ...nsItemWidgetActionsActivateWarningsItem.cs | 144 -- ...esponseAnnotationsItemWidgetActionsBlur.cs | 38 - ...nseAnnotationsItemWidgetActionsBlurRoot.cs | 38 - ...nnotationsItemWidgetActionsBlurRootType.cs | 220 --- ...ationsItemWidgetActionsBlurWarningsItem.cs | 140 -- ...AnnotationsItemWidgetActionsCursorEnter.cs | 39 - ...tationsItemWidgetActionsCursorEnterRoot.cs | 38 - ...onsItemWidgetActionsCursorEnterRootType.cs | 224 --- ...temWidgetActionsCursorEnterWarningsItem.cs | 144 -- ...eAnnotationsItemWidgetActionsCursorExit.cs | 39 - ...otationsItemWidgetActionsCursorExitRoot.cs | 38 - ...ionsItemWidgetActionsCursorExitRootType.cs | 222 --- ...ItemWidgetActionsCursorExitWarningsItem.cs | 144 -- ...sponseAnnotationsItemWidgetActionsFocus.cs | 38 - ...seAnnotationsItemWidgetActionsFocusRoot.cs | 38 - ...notationsItemWidgetActionsFocusRootType.cs | 220 --- ...tionsItemWidgetActionsFocusWarningsItem.cs | 142 -- ...seAnnotationsItemWidgetActionsMouseDown.cs | 39 - ...notationsItemWidgetActionsMouseDownRoot.cs | 38 - ...tionsItemWidgetActionsMouseDownRootType.cs | 222 --- ...sItemWidgetActionsMouseDownWarningsItem.cs | 144 -- ...onseAnnotationsItemWidgetActionsMouseUp.cs | 38 - ...AnnotationsItemWidgetActionsMouseUpRoot.cs | 38 - ...tationsItemWidgetActionsMouseUpRootType.cs | 220 --- ...onsItemWidgetActionsMouseUpWarningsItem.cs | 144 -- ...seAnnotationsItemWidgetActionsPageClose.cs | 39 - ...notationsItemWidgetActionsPageCloseRoot.cs | 38 - ...tionsItemWidgetActionsPageCloseRootType.cs | 222 --- ...sItemWidgetActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemWidgetActionsPageInvisible.cs | 39 - ...tionsItemWidgetActionsPageInvisibleRoot.cs | 38 - ...sItemWidgetActionsPageInvisibleRootType.cs | 224 --- ...mWidgetActionsPageInvisibleWarningsItem.cs | 144 -- ...nseAnnotationsItemWidgetActionsPageOpen.cs | 39 - ...nnotationsItemWidgetActionsPageOpenRoot.cs | 38 - ...ationsItemWidgetActionsPageOpenRootType.cs | 220 --- ...nsItemWidgetActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemWidgetActionsPageVisible.cs | 39 - ...tationsItemWidgetActionsPageVisibleRoot.cs | 38 - ...onsItemWidgetActionsPageVisibleRootType.cs | 224 --- ...temWidgetActionsPageVisibleWarningsItem.cs | 144 -- ...00ResponsePagesItemAnnotationsItemCaret.cs | 2 +- ...nsePagesItemAnnotationsItemCaretActions.cs | 59 - ...ItemAnnotationsItemCaretActionsActivate.cs | 39 - ...AnnotationsItemCaretActionsActivateRoot.cs | 38 - ...tationsItemCaretActionsActivateRootType.cs | 224 --- ...onsItemCaretActionsActivateWarningsItem.cs | 144 -- ...agesItemAnnotationsItemCaretActionsBlur.cs | 39 - ...ItemAnnotationsItemCaretActionsBlurRoot.cs | 38 - ...AnnotationsItemCaretActionsBlurRootType.cs | 224 --- ...tationsItemCaretActionsBlurWarningsItem.cs | 144 -- ...mAnnotationsItemCaretActionsCursorEnter.cs | 39 - ...otationsItemCaretActionsCursorEnterRoot.cs | 38 - ...ionsItemCaretActionsCursorEnterRootType.cs | 224 --- ...ItemCaretActionsCursorEnterWarningsItem.cs | 144 -- ...emAnnotationsItemCaretActionsCursorExit.cs | 39 - ...notationsItemCaretActionsCursorExitRoot.cs | 38 - ...tionsItemCaretActionsCursorExitRootType.cs | 224 --- ...sItemCaretActionsCursorExitWarningsItem.cs | 144 -- ...gesItemAnnotationsItemCaretActionsFocus.cs | 39 - ...temAnnotationsItemCaretActionsFocusRoot.cs | 38 - ...nnotationsItemCaretActionsFocusRootType.cs | 224 --- ...ationsItemCaretActionsFocusWarningsItem.cs | 144 -- ...temAnnotationsItemCaretActionsMouseDown.cs | 39 - ...nnotationsItemCaretActionsMouseDownRoot.cs | 38 - ...ationsItemCaretActionsMouseDownRootType.cs | 224 --- ...nsItemCaretActionsMouseDownWarningsItem.cs | 144 -- ...sItemAnnotationsItemCaretActionsMouseUp.cs | 39 - ...mAnnotationsItemCaretActionsMouseUpRoot.cs | 38 - ...otationsItemCaretActionsMouseUpRootType.cs | 224 --- ...ionsItemCaretActionsMouseUpWarningsItem.cs | 144 -- ...temAnnotationsItemCaretActionsPageClose.cs | 39 - ...nnotationsItemCaretActionsPageCloseRoot.cs | 38 - ...ationsItemCaretActionsPageCloseRootType.cs | 224 --- ...nsItemCaretActionsPageCloseWarningsItem.cs | 144 -- ...nnotationsItemCaretActionsPageInvisible.cs | 39 - ...ationsItemCaretActionsPageInvisibleRoot.cs | 38 - ...nsItemCaretActionsPageInvisibleRootType.cs | 224 --- ...emCaretActionsPageInvisibleWarningsItem.cs | 144 -- ...ItemAnnotationsItemCaretActionsPageOpen.cs | 39 - ...AnnotationsItemCaretActionsPageOpenRoot.cs | 38 - ...tationsItemCaretActionsPageOpenRootType.cs | 224 --- ...onsItemCaretActionsPageOpenWarningsItem.cs | 144 -- ...mAnnotationsItemCaretActionsPageVisible.cs | 39 - ...otationsItemCaretActionsPageVisibleRoot.cs | 38 - ...ionsItemCaretActionsPageVisibleRootType.cs | 224 --- ...ItemCaretActionsPageVisibleWarningsItem.cs | 144 -- ...0ResponsePagesItemAnnotationsItemCircle.cs | 2 +- ...sePagesItemAnnotationsItemCircleActions.cs | 59 - ...temAnnotationsItemCircleActionsActivate.cs | 39 - ...nnotationsItemCircleActionsActivateRoot.cs | 38 - ...ationsItemCircleActionsActivateRootType.cs | 224 --- ...nsItemCircleActionsActivateWarningsItem.cs | 144 -- ...gesItemAnnotationsItemCircleActionsBlur.cs | 39 - ...temAnnotationsItemCircleActionsBlurRoot.cs | 38 - ...nnotationsItemCircleActionsBlurRootType.cs | 224 --- ...ationsItemCircleActionsBlurWarningsItem.cs | 144 -- ...AnnotationsItemCircleActionsCursorEnter.cs | 39 - ...tationsItemCircleActionsCursorEnterRoot.cs | 38 - ...onsItemCircleActionsCursorEnterRootType.cs | 224 --- ...temCircleActionsCursorEnterWarningsItem.cs | 144 -- ...mAnnotationsItemCircleActionsCursorExit.cs | 39 - ...otationsItemCircleActionsCursorExitRoot.cs | 38 - ...ionsItemCircleActionsCursorExitRootType.cs | 224 --- ...ItemCircleActionsCursorExitWarningsItem.cs | 144 -- ...esItemAnnotationsItemCircleActionsFocus.cs | 39 - ...emAnnotationsItemCircleActionsFocusRoot.cs | 38 - ...notationsItemCircleActionsFocusRootType.cs | 224 --- ...tionsItemCircleActionsFocusWarningsItem.cs | 144 -- ...emAnnotationsItemCircleActionsMouseDown.cs | 39 - ...notationsItemCircleActionsMouseDownRoot.cs | 38 - ...tionsItemCircleActionsMouseDownRootType.cs | 224 --- ...sItemCircleActionsMouseDownWarningsItem.cs | 144 -- ...ItemAnnotationsItemCircleActionsMouseUp.cs | 39 - ...AnnotationsItemCircleActionsMouseUpRoot.cs | 38 - ...tationsItemCircleActionsMouseUpRootType.cs | 224 --- ...onsItemCircleActionsMouseUpWarningsItem.cs | 144 -- ...emAnnotationsItemCircleActionsPageClose.cs | 39 - ...notationsItemCircleActionsPageCloseRoot.cs | 38 - ...tionsItemCircleActionsPageCloseRootType.cs | 224 --- ...sItemCircleActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemCircleActionsPageInvisible.cs | 39 - ...tionsItemCircleActionsPageInvisibleRoot.cs | 38 - ...sItemCircleActionsPageInvisibleRootType.cs | 224 --- ...mCircleActionsPageInvisibleWarningsItem.cs | 144 -- ...temAnnotationsItemCircleActionsPageOpen.cs | 39 - ...nnotationsItemCircleActionsPageOpenRoot.cs | 38 - ...ationsItemCircleActionsPageOpenRootType.cs | 224 --- ...nsItemCircleActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemCircleActionsPageVisible.cs | 39 - ...tationsItemCircleActionsPageVisibleRoot.cs | 38 - ...onsItemCircleActionsPageVisibleRootType.cs | 224 --- ...temCircleActionsPageVisibleWarningsItem.cs | 144 -- ...ePagesItemAnnotationsItemFileAttachment.cs | 2 +- ...temAnnotationsItemFileAttachmentActions.cs | 59 - ...ationsItemFileAttachmentActionsActivate.cs | 39 - ...nsItemFileAttachmentActionsActivateRoot.cs | 38 - ...emFileAttachmentActionsActivateRootType.cs | 224 --- ...leAttachmentActionsActivateWarningsItem.cs | 144 -- ...nnotationsItemFileAttachmentActionsBlur.cs | 39 - ...ationsItemFileAttachmentActionsBlurRoot.cs | 38 - ...nsItemFileAttachmentActionsBlurRootType.cs | 224 --- ...emFileAttachmentActionsBlurWarningsItem.cs | 144 -- ...onsItemFileAttachmentActionsCursorEnter.cs | 39 - ...temFileAttachmentActionsCursorEnterRoot.cs | 38 - ...ileAttachmentActionsCursorEnterRootType.cs | 224 --- ...ttachmentActionsCursorEnterWarningsItem.cs | 144 -- ...ionsItemFileAttachmentActionsCursorExit.cs | 39 - ...ItemFileAttachmentActionsCursorExitRoot.cs | 38 - ...FileAttachmentActionsCursorExitRootType.cs | 224 --- ...AttachmentActionsCursorExitWarningsItem.cs | 144 -- ...notationsItemFileAttachmentActionsFocus.cs | 39 - ...tionsItemFileAttachmentActionsFocusRoot.cs | 38 - ...sItemFileAttachmentActionsFocusRootType.cs | 224 --- ...mFileAttachmentActionsFocusWarningsItem.cs | 144 -- ...tionsItemFileAttachmentActionsMouseDown.cs | 39 - ...sItemFileAttachmentActionsMouseDownRoot.cs | 38 - ...mFileAttachmentActionsMouseDownRootType.cs | 224 --- ...eAttachmentActionsMouseDownWarningsItem.cs | 144 -- ...tationsItemFileAttachmentActionsMouseUp.cs | 39 - ...onsItemFileAttachmentActionsMouseUpRoot.cs | 38 - ...temFileAttachmentActionsMouseUpRootType.cs | 224 --- ...ileAttachmentActionsMouseUpWarningsItem.cs | 144 -- ...tionsItemFileAttachmentActionsPageClose.cs | 39 - ...sItemFileAttachmentActionsPageCloseRoot.cs | 38 - ...mFileAttachmentActionsPageCloseRootType.cs | 224 --- ...eAttachmentActionsPageCloseWarningsItem.cs | 144 -- ...sItemFileAttachmentActionsPageInvisible.cs | 39 - ...mFileAttachmentActionsPageInvisibleRoot.cs | 38 - ...eAttachmentActionsPageInvisibleRootType.cs | 224 --- ...achmentActionsPageInvisibleWarningsItem.cs | 144 -- ...ationsItemFileAttachmentActionsPageOpen.cs | 39 - ...nsItemFileAttachmentActionsPageOpenRoot.cs | 38 - ...emFileAttachmentActionsPageOpenRootType.cs | 224 --- ...leAttachmentActionsPageOpenWarningsItem.cs | 144 -- ...onsItemFileAttachmentActionsPageVisible.cs | 39 - ...temFileAttachmentActionsPageVisibleRoot.cs | 38 - ...ileAttachmentActionsPageVisibleRootType.cs | 224 --- ...ttachmentActionsPageVisibleWarningsItem.cs | 144 -- ...esponsePagesItemAnnotationsItemFreeText.cs | 2 +- ...PagesItemAnnotationsItemFreeTextActions.cs | 59 - ...mAnnotationsItemFreeTextActionsActivate.cs | 39 - ...otationsItemFreeTextActionsActivateRoot.cs | 38 - ...ionsItemFreeTextActionsActivateRootType.cs | 224 --- ...ItemFreeTextActionsActivateWarningsItem.cs | 144 -- ...sItemAnnotationsItemFreeTextActionsBlur.cs | 39 - ...mAnnotationsItemFreeTextActionsBlurRoot.cs | 38 - ...otationsItemFreeTextActionsBlurRootType.cs | 224 --- ...ionsItemFreeTextActionsBlurWarningsItem.cs | 144 -- ...notationsItemFreeTextActionsCursorEnter.cs | 39 - ...tionsItemFreeTextActionsCursorEnterRoot.cs | 38 - ...sItemFreeTextActionsCursorEnterRootType.cs | 224 --- ...mFreeTextActionsCursorEnterWarningsItem.cs | 144 -- ...nnotationsItemFreeTextActionsCursorExit.cs | 39 - ...ationsItemFreeTextActionsCursorExitRoot.cs | 38 - ...nsItemFreeTextActionsCursorExitRootType.cs | 224 --- ...emFreeTextActionsCursorExitWarningsItem.cs | 144 -- ...ItemAnnotationsItemFreeTextActionsFocus.cs | 39 - ...AnnotationsItemFreeTextActionsFocusRoot.cs | 38 - ...tationsItemFreeTextActionsFocusRootType.cs | 224 --- ...onsItemFreeTextActionsFocusWarningsItem.cs | 144 -- ...AnnotationsItemFreeTextActionsMouseDown.cs | 39 - ...tationsItemFreeTextActionsMouseDownRoot.cs | 38 - ...onsItemFreeTextActionsMouseDownRootType.cs | 224 --- ...temFreeTextActionsMouseDownWarningsItem.cs | 144 -- ...emAnnotationsItemFreeTextActionsMouseUp.cs | 39 - ...notationsItemFreeTextActionsMouseUpRoot.cs | 38 - ...tionsItemFreeTextActionsMouseUpRootType.cs | 224 --- ...sItemFreeTextActionsMouseUpWarningsItem.cs | 144 -- ...AnnotationsItemFreeTextActionsPageClose.cs | 39 - ...tationsItemFreeTextActionsPageCloseRoot.cs | 38 - ...onsItemFreeTextActionsPageCloseRootType.cs | 224 --- ...temFreeTextActionsPageCloseWarningsItem.cs | 144 -- ...tationsItemFreeTextActionsPageInvisible.cs | 39 - ...onsItemFreeTextActionsPageInvisibleRoot.cs | 38 - ...temFreeTextActionsPageInvisibleRootType.cs | 224 --- ...reeTextActionsPageInvisibleWarningsItem.cs | 144 -- ...mAnnotationsItemFreeTextActionsPageOpen.cs | 39 - ...otationsItemFreeTextActionsPageOpenRoot.cs | 38 - ...ionsItemFreeTextActionsPageOpenRootType.cs | 224 --- ...ItemFreeTextActionsPageOpenWarningsItem.cs | 144 -- ...notationsItemFreeTextActionsPageVisible.cs | 39 - ...tionsItemFreeTextActionsPageVisibleRoot.cs | 38 - ...sItemFreeTextActionsPageVisibleRootType.cs | 224 --- ...mFreeTextActionsPageVisibleWarningsItem.cs | 144 -- ...sponsePagesItemAnnotationsItemHighlight.cs | 2 +- ...agesItemAnnotationsItemHighlightActions.cs | 59 - ...AnnotationsItemHighlightActionsActivate.cs | 39 - ...tationsItemHighlightActionsActivateRoot.cs | 38 - ...onsItemHighlightActionsActivateRootType.cs | 224 --- ...temHighlightActionsActivateWarningsItem.cs | 144 -- ...ItemAnnotationsItemHighlightActionsBlur.cs | 39 - ...AnnotationsItemHighlightActionsBlurRoot.cs | 38 - ...tationsItemHighlightActionsBlurRootType.cs | 224 --- ...onsItemHighlightActionsBlurWarningsItem.cs | 144 -- ...otationsItemHighlightActionsCursorEnter.cs | 39 - ...ionsItemHighlightActionsCursorEnterRoot.cs | 38 - ...ItemHighlightActionsCursorEnterRootType.cs | 224 --- ...HighlightActionsCursorEnterWarningsItem.cs | 144 -- ...notationsItemHighlightActionsCursorExit.cs | 39 - ...tionsItemHighlightActionsCursorExitRoot.cs | 38 - ...sItemHighlightActionsCursorExitRootType.cs | 224 --- ...mHighlightActionsCursorExitWarningsItem.cs | 144 -- ...temAnnotationsItemHighlightActionsFocus.cs | 39 - ...nnotationsItemHighlightActionsFocusRoot.cs | 38 - ...ationsItemHighlightActionsFocusRootType.cs | 224 --- ...nsItemHighlightActionsFocusWarningsItem.cs | 144 -- ...nnotationsItemHighlightActionsMouseDown.cs | 39 - ...ationsItemHighlightActionsMouseDownRoot.cs | 38 - ...nsItemHighlightActionsMouseDownRootType.cs | 224 --- ...emHighlightActionsMouseDownWarningsItem.cs | 144 -- ...mAnnotationsItemHighlightActionsMouseUp.cs | 39 - ...otationsItemHighlightActionsMouseUpRoot.cs | 38 - ...ionsItemHighlightActionsMouseUpRootType.cs | 224 --- ...ItemHighlightActionsMouseUpWarningsItem.cs | 144 -- ...nnotationsItemHighlightActionsPageClose.cs | 39 - ...ationsItemHighlightActionsPageCloseRoot.cs | 38 - ...nsItemHighlightActionsPageCloseRootType.cs | 224 --- ...emHighlightActionsPageCloseWarningsItem.cs | 144 -- ...ationsItemHighlightActionsPageInvisible.cs | 39 - ...nsItemHighlightActionsPageInvisibleRoot.cs | 38 - ...emHighlightActionsPageInvisibleRootType.cs | 224 --- ...ghlightActionsPageInvisibleWarningsItem.cs | 144 -- ...AnnotationsItemHighlightActionsPageOpen.cs | 39 - ...tationsItemHighlightActionsPageOpenRoot.cs | 38 - ...onsItemHighlightActionsPageOpenRootType.cs | 224 --- ...temHighlightActionsPageOpenWarningsItem.cs | 144 -- ...otationsItemHighlightActionsPageVisible.cs | 39 - ...ionsItemHighlightActionsPageVisibleRoot.cs | 38 - ...ItemHighlightActionsPageVisibleRootType.cs | 224 --- ...HighlightActionsPageVisibleWarningsItem.cs | 144 -- ...l200ResponsePagesItemAnnotationsItemInk.cs | 2 +- ...ponsePagesItemAnnotationsItemInkActions.cs | 59 - ...esItemAnnotationsItemInkActionsActivate.cs | 39 - ...emAnnotationsItemInkActionsActivateRoot.cs | 38 - ...notationsItemInkActionsActivateRootType.cs | 224 --- ...tionsItemInkActionsActivateWarningsItem.cs | 144 -- ...ePagesItemAnnotationsItemInkActionsBlur.cs | 39 - ...esItemAnnotationsItemInkActionsBlurRoot.cs | 38 - ...emAnnotationsItemInkActionsBlurRootType.cs | 224 --- ...notationsItemInkActionsBlurWarningsItem.cs | 144 -- ...temAnnotationsItemInkActionsCursorEnter.cs | 39 - ...nnotationsItemInkActionsCursorEnterRoot.cs | 38 - ...ationsItemInkActionsCursorEnterRootType.cs | 224 --- ...nsItemInkActionsCursorEnterWarningsItem.cs | 144 -- ...ItemAnnotationsItemInkActionsCursorExit.cs | 39 - ...AnnotationsItemInkActionsCursorExitRoot.cs | 38 - ...tationsItemInkActionsCursorExitRootType.cs | 224 --- ...onsItemInkActionsCursorExitWarningsItem.cs | 144 -- ...PagesItemAnnotationsItemInkActionsFocus.cs | 39 - ...sItemAnnotationsItemInkActionsFocusRoot.cs | 38 - ...mAnnotationsItemInkActionsFocusRootType.cs | 224 --- ...otationsItemInkActionsFocusWarningsItem.cs | 144 -- ...sItemAnnotationsItemInkActionsMouseDown.cs | 39 - ...mAnnotationsItemInkActionsMouseDownRoot.cs | 38 - ...otationsItemInkActionsMouseDownRootType.cs | 224 --- ...ionsItemInkActionsMouseDownWarningsItem.cs | 144 -- ...gesItemAnnotationsItemInkActionsMouseUp.cs | 39 - ...temAnnotationsItemInkActionsMouseUpRoot.cs | 38 - ...nnotationsItemInkActionsMouseUpRootType.cs | 224 --- ...ationsItemInkActionsMouseUpWarningsItem.cs | 144 -- ...sItemAnnotationsItemInkActionsPageClose.cs | 39 - ...mAnnotationsItemInkActionsPageCloseRoot.cs | 38 - ...otationsItemInkActionsPageCloseRootType.cs | 224 --- ...ionsItemInkActionsPageCloseWarningsItem.cs | 144 -- ...mAnnotationsItemInkActionsPageInvisible.cs | 39 - ...otationsItemInkActionsPageInvisibleRoot.cs | 38 - ...ionsItemInkActionsPageInvisibleRootType.cs | 224 --- ...ItemInkActionsPageInvisibleWarningsItem.cs | 144 -- ...esItemAnnotationsItemInkActionsPageOpen.cs | 39 - ...emAnnotationsItemInkActionsPageOpenRoot.cs | 38 - ...notationsItemInkActionsPageOpenRootType.cs | 224 --- ...tionsItemInkActionsPageOpenWarningsItem.cs | 144 -- ...temAnnotationsItemInkActionsPageVisible.cs | 39 - ...nnotationsItemInkActionsPageVisibleRoot.cs | 38 - ...ationsItemInkActionsPageVisibleRootType.cs | 224 --- ...nsItemInkActionsPageVisibleWarningsItem.cs | 144 -- ...200ResponsePagesItemAnnotationsItemLine.cs | 2 +- ...onsePagesItemAnnotationsItemLineActions.cs | 59 - ...sItemAnnotationsItemLineActionsActivate.cs | 39 - ...mAnnotationsItemLineActionsActivateRoot.cs | 38 - ...otationsItemLineActionsActivateRootType.cs | 224 --- ...ionsItemLineActionsActivateWarningsItem.cs | 144 -- ...PagesItemAnnotationsItemLineActionsBlur.cs | 39 - ...sItemAnnotationsItemLineActionsBlurRoot.cs | 38 - ...mAnnotationsItemLineActionsBlurRootType.cs | 224 --- ...otationsItemLineActionsBlurWarningsItem.cs | 144 -- ...emAnnotationsItemLineActionsCursorEnter.cs | 39 - ...notationsItemLineActionsCursorEnterRoot.cs | 38 - ...tionsItemLineActionsCursorEnterRootType.cs | 224 --- ...sItemLineActionsCursorEnterWarningsItem.cs | 144 -- ...temAnnotationsItemLineActionsCursorExit.cs | 39 - ...nnotationsItemLineActionsCursorExitRoot.cs | 38 - ...ationsItemLineActionsCursorExitRootType.cs | 224 --- ...nsItemLineActionsCursorExitWarningsItem.cs | 144 -- ...agesItemAnnotationsItemLineActionsFocus.cs | 39 - ...ItemAnnotationsItemLineActionsFocusRoot.cs | 38 - ...AnnotationsItemLineActionsFocusRootType.cs | 224 --- ...tationsItemLineActionsFocusWarningsItem.cs | 144 -- ...ItemAnnotationsItemLineActionsMouseDown.cs | 39 - ...AnnotationsItemLineActionsMouseDownRoot.cs | 38 - ...tationsItemLineActionsMouseDownRootType.cs | 224 --- ...onsItemLineActionsMouseDownWarningsItem.cs | 144 -- ...esItemAnnotationsItemLineActionsMouseUp.cs | 39 - ...emAnnotationsItemLineActionsMouseUpRoot.cs | 38 - ...notationsItemLineActionsMouseUpRootType.cs | 224 --- ...tionsItemLineActionsMouseUpWarningsItem.cs | 144 -- ...ItemAnnotationsItemLineActionsPageClose.cs | 39 - ...AnnotationsItemLineActionsPageCloseRoot.cs | 38 - ...tationsItemLineActionsPageCloseRootType.cs | 224 --- ...onsItemLineActionsPageCloseWarningsItem.cs | 144 -- ...AnnotationsItemLineActionsPageInvisible.cs | 39 - ...tationsItemLineActionsPageInvisibleRoot.cs | 38 - ...onsItemLineActionsPageInvisibleRootType.cs | 224 --- ...temLineActionsPageInvisibleWarningsItem.cs | 144 -- ...sItemAnnotationsItemLineActionsPageOpen.cs | 39 - ...mAnnotationsItemLineActionsPageOpenRoot.cs | 38 - ...otationsItemLineActionsPageOpenRootType.cs | 224 --- ...ionsItemLineActionsPageOpenWarningsItem.cs | 144 -- ...emAnnotationsItemLineActionsPageVisible.cs | 39 - ...notationsItemLineActionsPageVisibleRoot.cs | 38 - ...tionsItemLineActionsPageVisibleRootType.cs | 224 --- ...sItemLineActionsPageVisibleWarningsItem.cs | 144 -- ...200ResponsePagesItemAnnotationsItemLink.cs | 2 +- ...onsePagesItemAnnotationsItemLinkActions.cs | 59 - ...sItemAnnotationsItemLinkActionsActivate.cs | 39 - ...mAnnotationsItemLinkActionsActivateRoot.cs | 38 - ...otationsItemLinkActionsActivateRootType.cs | 224 --- ...ionsItemLinkActionsActivateWarningsItem.cs | 144 -- ...PagesItemAnnotationsItemLinkActionsBlur.cs | 39 - ...sItemAnnotationsItemLinkActionsBlurRoot.cs | 38 - ...mAnnotationsItemLinkActionsBlurRootType.cs | 224 --- ...otationsItemLinkActionsBlurWarningsItem.cs | 144 -- ...emAnnotationsItemLinkActionsCursorEnter.cs | 39 - ...notationsItemLinkActionsCursorEnterRoot.cs | 38 - ...tionsItemLinkActionsCursorEnterRootType.cs | 224 --- ...sItemLinkActionsCursorEnterWarningsItem.cs | 144 -- ...temAnnotationsItemLinkActionsCursorExit.cs | 39 - ...nnotationsItemLinkActionsCursorExitRoot.cs | 38 - ...ationsItemLinkActionsCursorExitRootType.cs | 224 --- ...nsItemLinkActionsCursorExitWarningsItem.cs | 144 -- ...agesItemAnnotationsItemLinkActionsFocus.cs | 39 - ...ItemAnnotationsItemLinkActionsFocusRoot.cs | 38 - ...AnnotationsItemLinkActionsFocusRootType.cs | 224 --- ...tationsItemLinkActionsFocusWarningsItem.cs | 144 -- ...ItemAnnotationsItemLinkActionsMouseDown.cs | 39 - ...AnnotationsItemLinkActionsMouseDownRoot.cs | 38 - ...tationsItemLinkActionsMouseDownRootType.cs | 224 --- ...onsItemLinkActionsMouseDownWarningsItem.cs | 144 -- ...esItemAnnotationsItemLinkActionsMouseUp.cs | 39 - ...emAnnotationsItemLinkActionsMouseUpRoot.cs | 38 - ...notationsItemLinkActionsMouseUpRootType.cs | 224 --- ...tionsItemLinkActionsMouseUpWarningsItem.cs | 144 -- ...ItemAnnotationsItemLinkActionsPageClose.cs | 39 - ...AnnotationsItemLinkActionsPageCloseRoot.cs | 38 - ...tationsItemLinkActionsPageCloseRootType.cs | 224 --- ...onsItemLinkActionsPageCloseWarningsItem.cs | 144 -- ...AnnotationsItemLinkActionsPageInvisible.cs | 39 - ...tationsItemLinkActionsPageInvisibleRoot.cs | 38 - ...onsItemLinkActionsPageInvisibleRootType.cs | 224 --- ...temLinkActionsPageInvisibleWarningsItem.cs | 144 -- ...sItemAnnotationsItemLinkActionsPageOpen.cs | 39 - ...mAnnotationsItemLinkActionsPageOpenRoot.cs | 38 - ...otationsItemLinkActionsPageOpenRootType.cs | 224 --- ...ionsItemLinkActionsPageOpenWarningsItem.cs | 144 -- ...emAnnotationsItemLinkActionsPageVisible.cs | 39 - ...notationsItemLinkActionsPageVisibleRoot.cs | 38 - ...tionsItemLinkActionsPageVisibleRootType.cs | 224 --- ...sItemLinkActionsPageVisibleWarningsItem.cs | 144 -- ...ePagesItemAnnotationsItemLinkTargetGoto.cs | 2 +- ...nnotationsItemLinkTargetGotoDestination.cs | 864 ---------- ...tionsItemLinkTargetGotoDestinationFitBh.cs | 32 - ...tionsItemLinkTargetGotoDestinationFitBv.cs | 32 - ...ationsItemLinkTargetGotoDestinationFitH.cs | 32 - ...ationsItemLinkTargetGotoDestinationFitR.cs | 41 - ...ationsItemLinkTargetGotoDestinationFitV.cs | 32 - ...tationsItemLinkTargetGotoDestinationXyz.cs | 38 - ...ResponsePagesItemAnnotationsItemPolygon.cs | 2 +- ...ePagesItemAnnotationsItemPolygonActions.cs | 59 - ...emAnnotationsItemPolygonActionsActivate.cs | 39 - ...notationsItemPolygonActionsActivateRoot.cs | 38 - ...tionsItemPolygonActionsActivateRootType.cs | 224 --- ...sItemPolygonActionsActivateWarningsItem.cs | 144 -- ...esItemAnnotationsItemPolygonActionsBlur.cs | 39 - ...emAnnotationsItemPolygonActionsBlurRoot.cs | 38 - ...notationsItemPolygonActionsBlurRootType.cs | 224 --- ...tionsItemPolygonActionsBlurWarningsItem.cs | 144 -- ...nnotationsItemPolygonActionsCursorEnter.cs | 39 - ...ationsItemPolygonActionsCursorEnterRoot.cs | 38 - ...nsItemPolygonActionsCursorEnterRootType.cs | 224 --- ...emPolygonActionsCursorEnterWarningsItem.cs | 144 -- ...AnnotationsItemPolygonActionsCursorExit.cs | 39 - ...tationsItemPolygonActionsCursorExitRoot.cs | 38 - ...onsItemPolygonActionsCursorExitRootType.cs | 224 --- ...temPolygonActionsCursorExitWarningsItem.cs | 144 -- ...sItemAnnotationsItemPolygonActionsFocus.cs | 39 - ...mAnnotationsItemPolygonActionsFocusRoot.cs | 38 - ...otationsItemPolygonActionsFocusRootType.cs | 224 --- ...ionsItemPolygonActionsFocusWarningsItem.cs | 144 -- ...mAnnotationsItemPolygonActionsMouseDown.cs | 39 - ...otationsItemPolygonActionsMouseDownRoot.cs | 38 - ...ionsItemPolygonActionsMouseDownRootType.cs | 224 --- ...ItemPolygonActionsMouseDownWarningsItem.cs | 144 -- ...temAnnotationsItemPolygonActionsMouseUp.cs | 39 - ...nnotationsItemPolygonActionsMouseUpRoot.cs | 38 - ...ationsItemPolygonActionsMouseUpRootType.cs | 224 --- ...nsItemPolygonActionsMouseUpWarningsItem.cs | 144 -- ...mAnnotationsItemPolygonActionsPageClose.cs | 39 - ...otationsItemPolygonActionsPageCloseRoot.cs | 38 - ...ionsItemPolygonActionsPageCloseRootType.cs | 224 --- ...ItemPolygonActionsPageCloseWarningsItem.cs | 144 -- ...otationsItemPolygonActionsPageInvisible.cs | 39 - ...ionsItemPolygonActionsPageInvisibleRoot.cs | 38 - ...ItemPolygonActionsPageInvisibleRootType.cs | 224 --- ...PolygonActionsPageInvisibleWarningsItem.cs | 144 -- ...emAnnotationsItemPolygonActionsPageOpen.cs | 39 - ...notationsItemPolygonActionsPageOpenRoot.cs | 38 - ...tionsItemPolygonActionsPageOpenRootType.cs | 224 --- ...sItemPolygonActionsPageOpenWarningsItem.cs | 144 -- ...nnotationsItemPolygonActionsPageVisible.cs | 39 - ...ationsItemPolygonActionsPageVisibleRoot.cs | 38 - ...nsItemPolygonActionsPageVisibleRootType.cs | 224 --- ...emPolygonActionsPageVisibleWarningsItem.cs | 144 -- ...esponsePagesItemAnnotationsItemPolyline.cs | 2 +- ...PagesItemAnnotationsItemPolylineActions.cs | 59 - ...mAnnotationsItemPolylineActionsActivate.cs | 39 - ...otationsItemPolylineActionsActivateRoot.cs | 38 - ...ionsItemPolylineActionsActivateRootType.cs | 224 --- ...ItemPolylineActionsActivateWarningsItem.cs | 144 -- ...sItemAnnotationsItemPolylineActionsBlur.cs | 39 - ...mAnnotationsItemPolylineActionsBlurRoot.cs | 38 - ...otationsItemPolylineActionsBlurRootType.cs | 224 --- ...ionsItemPolylineActionsBlurWarningsItem.cs | 144 -- ...notationsItemPolylineActionsCursorEnter.cs | 39 - ...tionsItemPolylineActionsCursorEnterRoot.cs | 38 - ...sItemPolylineActionsCursorEnterRootType.cs | 224 --- ...mPolylineActionsCursorEnterWarningsItem.cs | 144 -- ...nnotationsItemPolylineActionsCursorExit.cs | 39 - ...ationsItemPolylineActionsCursorExitRoot.cs | 38 - ...nsItemPolylineActionsCursorExitRootType.cs | 224 --- ...emPolylineActionsCursorExitWarningsItem.cs | 144 -- ...ItemAnnotationsItemPolylineActionsFocus.cs | 39 - ...AnnotationsItemPolylineActionsFocusRoot.cs | 38 - ...tationsItemPolylineActionsFocusRootType.cs | 224 --- ...onsItemPolylineActionsFocusWarningsItem.cs | 144 -- ...AnnotationsItemPolylineActionsMouseDown.cs | 39 - ...tationsItemPolylineActionsMouseDownRoot.cs | 38 - ...onsItemPolylineActionsMouseDownRootType.cs | 224 --- ...temPolylineActionsMouseDownWarningsItem.cs | 144 -- ...emAnnotationsItemPolylineActionsMouseUp.cs | 39 - ...notationsItemPolylineActionsMouseUpRoot.cs | 38 - ...tionsItemPolylineActionsMouseUpRootType.cs | 224 --- ...sItemPolylineActionsMouseUpWarningsItem.cs | 144 -- ...AnnotationsItemPolylineActionsPageClose.cs | 39 - ...tationsItemPolylineActionsPageCloseRoot.cs | 38 - ...onsItemPolylineActionsPageCloseRootType.cs | 224 --- ...temPolylineActionsPageCloseWarningsItem.cs | 144 -- ...tationsItemPolylineActionsPageInvisible.cs | 39 - ...onsItemPolylineActionsPageInvisibleRoot.cs | 38 - ...temPolylineActionsPageInvisibleRootType.cs | 224 --- ...olylineActionsPageInvisibleWarningsItem.cs | 144 -- ...mAnnotationsItemPolylineActionsPageOpen.cs | 39 - ...otationsItemPolylineActionsPageOpenRoot.cs | 38 - ...ionsItemPolylineActionsPageOpenRootType.cs | 224 --- ...ItemPolylineActionsPageOpenWarningsItem.cs | 144 -- ...notationsItemPolylineActionsPageVisible.cs | 39 - ...tionsItemPolylineActionsPageVisibleRoot.cs | 38 - ...sItemPolylineActionsPageVisibleRootType.cs | 224 --- ...mPolylineActionsPageVisibleWarningsItem.cs | 144 -- ...0ResponsePagesItemAnnotationsItemRedact.cs | 2 +- ...sePagesItemAnnotationsItemRedactActions.cs | 59 - ...temAnnotationsItemRedactActionsActivate.cs | 39 - ...nnotationsItemRedactActionsActivateRoot.cs | 38 - ...ationsItemRedactActionsActivateRootType.cs | 224 --- ...nsItemRedactActionsActivateWarningsItem.cs | 144 -- ...gesItemAnnotationsItemRedactActionsBlur.cs | 39 - ...temAnnotationsItemRedactActionsBlurRoot.cs | 38 - ...nnotationsItemRedactActionsBlurRootType.cs | 224 --- ...ationsItemRedactActionsBlurWarningsItem.cs | 144 -- ...AnnotationsItemRedactActionsCursorEnter.cs | 39 - ...tationsItemRedactActionsCursorEnterRoot.cs | 38 - ...onsItemRedactActionsCursorEnterRootType.cs | 224 --- ...temRedactActionsCursorEnterWarningsItem.cs | 144 -- ...mAnnotationsItemRedactActionsCursorExit.cs | 39 - ...otationsItemRedactActionsCursorExitRoot.cs | 38 - ...ionsItemRedactActionsCursorExitRootType.cs | 224 --- ...ItemRedactActionsCursorExitWarningsItem.cs | 144 -- ...esItemAnnotationsItemRedactActionsFocus.cs | 39 - ...emAnnotationsItemRedactActionsFocusRoot.cs | 38 - ...notationsItemRedactActionsFocusRootType.cs | 224 --- ...tionsItemRedactActionsFocusWarningsItem.cs | 144 -- ...emAnnotationsItemRedactActionsMouseDown.cs | 39 - ...notationsItemRedactActionsMouseDownRoot.cs | 38 - ...tionsItemRedactActionsMouseDownRootType.cs | 224 --- ...sItemRedactActionsMouseDownWarningsItem.cs | 144 -- ...ItemAnnotationsItemRedactActionsMouseUp.cs | 39 - ...AnnotationsItemRedactActionsMouseUpRoot.cs | 38 - ...tationsItemRedactActionsMouseUpRootType.cs | 224 --- ...onsItemRedactActionsMouseUpWarningsItem.cs | 144 -- ...emAnnotationsItemRedactActionsPageClose.cs | 39 - ...notationsItemRedactActionsPageCloseRoot.cs | 38 - ...tionsItemRedactActionsPageCloseRootType.cs | 224 --- ...sItemRedactActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemRedactActionsPageInvisible.cs | 39 - ...tionsItemRedactActionsPageInvisibleRoot.cs | 38 - ...sItemRedactActionsPageInvisibleRootType.cs | 224 --- ...mRedactActionsPageInvisibleWarningsItem.cs | 144 -- ...temAnnotationsItemRedactActionsPageOpen.cs | 39 - ...nnotationsItemRedactActionsPageOpenRoot.cs | 38 - ...ationsItemRedactActionsPageOpenRootType.cs | 224 --- ...nsItemRedactActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemRedactActionsPageVisible.cs | 39 - ...tationsItemRedactActionsPageVisibleRoot.cs | 38 - ...onsItemRedactActionsPageVisibleRootType.cs | 224 --- ...temRedactActionsPageVisibleWarningsItem.cs | 144 -- ...0ResponsePagesItemAnnotationsItemSquare.cs | 2 +- ...sePagesItemAnnotationsItemSquareActions.cs | 59 - ...temAnnotationsItemSquareActionsActivate.cs | 39 - ...nnotationsItemSquareActionsActivateRoot.cs | 38 - ...ationsItemSquareActionsActivateRootType.cs | 224 --- ...nsItemSquareActionsActivateWarningsItem.cs | 144 -- ...gesItemAnnotationsItemSquareActionsBlur.cs | 39 - ...temAnnotationsItemSquareActionsBlurRoot.cs | 38 - ...nnotationsItemSquareActionsBlurRootType.cs | 224 --- ...ationsItemSquareActionsBlurWarningsItem.cs | 144 -- ...AnnotationsItemSquareActionsCursorEnter.cs | 39 - ...tationsItemSquareActionsCursorEnterRoot.cs | 38 - ...onsItemSquareActionsCursorEnterRootType.cs | 224 --- ...temSquareActionsCursorEnterWarningsItem.cs | 144 -- ...mAnnotationsItemSquareActionsCursorExit.cs | 39 - ...otationsItemSquareActionsCursorExitRoot.cs | 38 - ...ionsItemSquareActionsCursorExitRootType.cs | 224 --- ...ItemSquareActionsCursorExitWarningsItem.cs | 144 -- ...esItemAnnotationsItemSquareActionsFocus.cs | 39 - ...emAnnotationsItemSquareActionsFocusRoot.cs | 38 - ...notationsItemSquareActionsFocusRootType.cs | 224 --- ...tionsItemSquareActionsFocusWarningsItem.cs | 144 -- ...emAnnotationsItemSquareActionsMouseDown.cs | 39 - ...notationsItemSquareActionsMouseDownRoot.cs | 38 - ...tionsItemSquareActionsMouseDownRootType.cs | 224 --- ...sItemSquareActionsMouseDownWarningsItem.cs | 144 -- ...ItemAnnotationsItemSquareActionsMouseUp.cs | 39 - ...AnnotationsItemSquareActionsMouseUpRoot.cs | 38 - ...tationsItemSquareActionsMouseUpRootType.cs | 224 --- ...onsItemSquareActionsMouseUpWarningsItem.cs | 144 -- ...emAnnotationsItemSquareActionsPageClose.cs | 39 - ...notationsItemSquareActionsPageCloseRoot.cs | 38 - ...tionsItemSquareActionsPageCloseRootType.cs | 224 --- ...sItemSquareActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemSquareActionsPageInvisible.cs | 39 - ...tionsItemSquareActionsPageInvisibleRoot.cs | 38 - ...sItemSquareActionsPageInvisibleRootType.cs | 224 --- ...mSquareActionsPageInvisibleWarningsItem.cs | 144 -- ...temAnnotationsItemSquareActionsPageOpen.cs | 39 - ...nnotationsItemSquareActionsPageOpenRoot.cs | 38 - ...ationsItemSquareActionsPageOpenRootType.cs | 224 --- ...nsItemSquareActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemSquareActionsPageVisible.cs | 39 - ...tationsItemSquareActionsPageVisibleRoot.cs | 38 - ...onsItemSquareActionsPageVisibleRootType.cs | 224 --- ...temSquareActionsPageVisibleWarningsItem.cs | 144 -- ...esponsePagesItemAnnotationsItemSquiggly.cs | 2 +- ...PagesItemAnnotationsItemSquigglyActions.cs | 59 - ...mAnnotationsItemSquigglyActionsActivate.cs | 39 - ...otationsItemSquigglyActionsActivateRoot.cs | 38 - ...ionsItemSquigglyActionsActivateRootType.cs | 224 --- ...ItemSquigglyActionsActivateWarningsItem.cs | 144 -- ...sItemAnnotationsItemSquigglyActionsBlur.cs | 39 - ...mAnnotationsItemSquigglyActionsBlurRoot.cs | 38 - ...otationsItemSquigglyActionsBlurRootType.cs | 224 --- ...ionsItemSquigglyActionsBlurWarningsItem.cs | 144 -- ...notationsItemSquigglyActionsCursorEnter.cs | 39 - ...tionsItemSquigglyActionsCursorEnterRoot.cs | 38 - ...sItemSquigglyActionsCursorEnterRootType.cs | 224 --- ...mSquigglyActionsCursorEnterWarningsItem.cs | 144 -- ...nnotationsItemSquigglyActionsCursorExit.cs | 39 - ...ationsItemSquigglyActionsCursorExitRoot.cs | 38 - ...nsItemSquigglyActionsCursorExitRootType.cs | 224 --- ...emSquigglyActionsCursorExitWarningsItem.cs | 144 -- ...ItemAnnotationsItemSquigglyActionsFocus.cs | 39 - ...AnnotationsItemSquigglyActionsFocusRoot.cs | 38 - ...tationsItemSquigglyActionsFocusRootType.cs | 224 --- ...onsItemSquigglyActionsFocusWarningsItem.cs | 144 -- ...AnnotationsItemSquigglyActionsMouseDown.cs | 39 - ...tationsItemSquigglyActionsMouseDownRoot.cs | 38 - ...onsItemSquigglyActionsMouseDownRootType.cs | 224 --- ...temSquigglyActionsMouseDownWarningsItem.cs | 144 -- ...emAnnotationsItemSquigglyActionsMouseUp.cs | 39 - ...notationsItemSquigglyActionsMouseUpRoot.cs | 38 - ...tionsItemSquigglyActionsMouseUpRootType.cs | 224 --- ...sItemSquigglyActionsMouseUpWarningsItem.cs | 144 -- ...AnnotationsItemSquigglyActionsPageClose.cs | 39 - ...tationsItemSquigglyActionsPageCloseRoot.cs | 38 - ...onsItemSquigglyActionsPageCloseRootType.cs | 224 --- ...temSquigglyActionsPageCloseWarningsItem.cs | 144 -- ...tationsItemSquigglyActionsPageInvisible.cs | 39 - ...onsItemSquigglyActionsPageInvisibleRoot.cs | 38 - ...temSquigglyActionsPageInvisibleRootType.cs | 224 --- ...quigglyActionsPageInvisibleWarningsItem.cs | 144 -- ...mAnnotationsItemSquigglyActionsPageOpen.cs | 39 - ...otationsItemSquigglyActionsPageOpenRoot.cs | 38 - ...ionsItemSquigglyActionsPageOpenRootType.cs | 224 --- ...ItemSquigglyActionsPageOpenWarningsItem.cs | 144 -- ...notationsItemSquigglyActionsPageVisible.cs | 39 - ...tionsItemSquigglyActionsPageVisibleRoot.cs | 38 - ...sItemSquigglyActionsPageVisibleRootType.cs | 224 --- ...mSquigglyActionsPageVisibleWarningsItem.cs | 144 -- ...00ResponsePagesItemAnnotationsItemStamp.cs | 2 +- ...nsePagesItemAnnotationsItemStampActions.cs | 59 - ...ItemAnnotationsItemStampActionsActivate.cs | 39 - ...AnnotationsItemStampActionsActivateRoot.cs | 38 - ...tationsItemStampActionsActivateRootType.cs | 224 --- ...onsItemStampActionsActivateWarningsItem.cs | 144 -- ...agesItemAnnotationsItemStampActionsBlur.cs | 39 - ...ItemAnnotationsItemStampActionsBlurRoot.cs | 38 - ...AnnotationsItemStampActionsBlurRootType.cs | 224 --- ...tationsItemStampActionsBlurWarningsItem.cs | 144 -- ...mAnnotationsItemStampActionsCursorEnter.cs | 39 - ...otationsItemStampActionsCursorEnterRoot.cs | 38 - ...ionsItemStampActionsCursorEnterRootType.cs | 224 --- ...ItemStampActionsCursorEnterWarningsItem.cs | 144 -- ...emAnnotationsItemStampActionsCursorExit.cs | 39 - ...notationsItemStampActionsCursorExitRoot.cs | 38 - ...tionsItemStampActionsCursorExitRootType.cs | 224 --- ...sItemStampActionsCursorExitWarningsItem.cs | 144 -- ...gesItemAnnotationsItemStampActionsFocus.cs | 39 - ...temAnnotationsItemStampActionsFocusRoot.cs | 38 - ...nnotationsItemStampActionsFocusRootType.cs | 224 --- ...ationsItemStampActionsFocusWarningsItem.cs | 144 -- ...temAnnotationsItemStampActionsMouseDown.cs | 39 - ...nnotationsItemStampActionsMouseDownRoot.cs | 38 - ...ationsItemStampActionsMouseDownRootType.cs | 224 --- ...nsItemStampActionsMouseDownWarningsItem.cs | 144 -- ...sItemAnnotationsItemStampActionsMouseUp.cs | 39 - ...mAnnotationsItemStampActionsMouseUpRoot.cs | 38 - ...otationsItemStampActionsMouseUpRootType.cs | 224 --- ...ionsItemStampActionsMouseUpWarningsItem.cs | 144 -- ...temAnnotationsItemStampActionsPageClose.cs | 39 - ...nnotationsItemStampActionsPageCloseRoot.cs | 38 - ...ationsItemStampActionsPageCloseRootType.cs | 224 --- ...nsItemStampActionsPageCloseWarningsItem.cs | 144 -- ...nnotationsItemStampActionsPageInvisible.cs | 39 - ...ationsItemStampActionsPageInvisibleRoot.cs | 38 - ...nsItemStampActionsPageInvisibleRootType.cs | 224 --- ...emStampActionsPageInvisibleWarningsItem.cs | 144 -- ...ItemAnnotationsItemStampActionsPageOpen.cs | 39 - ...AnnotationsItemStampActionsPageOpenRoot.cs | 38 - ...tationsItemStampActionsPageOpenRootType.cs | 224 --- ...onsItemStampActionsPageOpenWarningsItem.cs | 144 -- ...mAnnotationsItemStampActionsPageVisible.cs | 39 - ...otationsItemStampActionsPageVisibleRoot.cs | 38 - ...ionsItemStampActionsPageVisibleRootType.cs | 224 --- ...ItemStampActionsPageVisibleWarningsItem.cs | 144 -- ...sponsePagesItemAnnotationsItemStrikeout.cs | 2 +- ...agesItemAnnotationsItemStrikeoutActions.cs | 59 - ...AnnotationsItemStrikeoutActionsActivate.cs | 39 - ...tationsItemStrikeoutActionsActivateRoot.cs | 38 - ...onsItemStrikeoutActionsActivateRootType.cs | 224 --- ...temStrikeoutActionsActivateWarningsItem.cs | 144 -- ...ItemAnnotationsItemStrikeoutActionsBlur.cs | 39 - ...AnnotationsItemStrikeoutActionsBlurRoot.cs | 38 - ...tationsItemStrikeoutActionsBlurRootType.cs | 224 --- ...onsItemStrikeoutActionsBlurWarningsItem.cs | 144 -- ...otationsItemStrikeoutActionsCursorEnter.cs | 39 - ...ionsItemStrikeoutActionsCursorEnterRoot.cs | 38 - ...ItemStrikeoutActionsCursorEnterRootType.cs | 224 --- ...StrikeoutActionsCursorEnterWarningsItem.cs | 144 -- ...notationsItemStrikeoutActionsCursorExit.cs | 39 - ...tionsItemStrikeoutActionsCursorExitRoot.cs | 38 - ...sItemStrikeoutActionsCursorExitRootType.cs | 224 --- ...mStrikeoutActionsCursorExitWarningsItem.cs | 144 -- ...temAnnotationsItemStrikeoutActionsFocus.cs | 39 - ...nnotationsItemStrikeoutActionsFocusRoot.cs | 38 - ...ationsItemStrikeoutActionsFocusRootType.cs | 224 --- ...nsItemStrikeoutActionsFocusWarningsItem.cs | 144 -- ...nnotationsItemStrikeoutActionsMouseDown.cs | 39 - ...ationsItemStrikeoutActionsMouseDownRoot.cs | 38 - ...nsItemStrikeoutActionsMouseDownRootType.cs | 224 --- ...emStrikeoutActionsMouseDownWarningsItem.cs | 144 -- ...mAnnotationsItemStrikeoutActionsMouseUp.cs | 39 - ...otationsItemStrikeoutActionsMouseUpRoot.cs | 38 - ...ionsItemStrikeoutActionsMouseUpRootType.cs | 224 --- ...ItemStrikeoutActionsMouseUpWarningsItem.cs | 144 -- ...nnotationsItemStrikeoutActionsPageClose.cs | 39 - ...ationsItemStrikeoutActionsPageCloseRoot.cs | 38 - ...nsItemStrikeoutActionsPageCloseRootType.cs | 224 --- ...emStrikeoutActionsPageCloseWarningsItem.cs | 144 -- ...ationsItemStrikeoutActionsPageInvisible.cs | 39 - ...nsItemStrikeoutActionsPageInvisibleRoot.cs | 38 - ...emStrikeoutActionsPageInvisibleRootType.cs | 224 --- ...rikeoutActionsPageInvisibleWarningsItem.cs | 144 -- ...AnnotationsItemStrikeoutActionsPageOpen.cs | 39 - ...tationsItemStrikeoutActionsPageOpenRoot.cs | 38 - ...onsItemStrikeoutActionsPageOpenRootType.cs | 224 --- ...temStrikeoutActionsPageOpenWarningsItem.cs | 144 -- ...otationsItemStrikeoutActionsPageVisible.cs | 39 - ...ionsItemStrikeoutActionsPageVisibleRoot.cs | 38 - ...ItemStrikeoutActionsPageVisibleRootType.cs | 224 --- ...StrikeoutActionsPageVisibleWarningsItem.cs | 144 -- ...200ResponsePagesItemAnnotationsItemText.cs | 2 +- ...onsePagesItemAnnotationsItemTextActions.cs | 59 - ...sItemAnnotationsItemTextActionsActivate.cs | 39 - ...mAnnotationsItemTextActionsActivateRoot.cs | 38 - ...otationsItemTextActionsActivateRootType.cs | 224 --- ...ionsItemTextActionsActivateWarningsItem.cs | 144 -- ...PagesItemAnnotationsItemTextActionsBlur.cs | 39 - ...sItemAnnotationsItemTextActionsBlurRoot.cs | 38 - ...mAnnotationsItemTextActionsBlurRootType.cs | 224 --- ...otationsItemTextActionsBlurWarningsItem.cs | 144 -- ...emAnnotationsItemTextActionsCursorEnter.cs | 39 - ...notationsItemTextActionsCursorEnterRoot.cs | 38 - ...tionsItemTextActionsCursorEnterRootType.cs | 224 --- ...sItemTextActionsCursorEnterWarningsItem.cs | 144 -- ...temAnnotationsItemTextActionsCursorExit.cs | 39 - ...nnotationsItemTextActionsCursorExitRoot.cs | 38 - ...ationsItemTextActionsCursorExitRootType.cs | 224 --- ...nsItemTextActionsCursorExitWarningsItem.cs | 144 -- ...agesItemAnnotationsItemTextActionsFocus.cs | 39 - ...ItemAnnotationsItemTextActionsFocusRoot.cs | 38 - ...AnnotationsItemTextActionsFocusRootType.cs | 224 --- ...tationsItemTextActionsFocusWarningsItem.cs | 144 -- ...ItemAnnotationsItemTextActionsMouseDown.cs | 39 - ...AnnotationsItemTextActionsMouseDownRoot.cs | 38 - ...tationsItemTextActionsMouseDownRootType.cs | 224 --- ...onsItemTextActionsMouseDownWarningsItem.cs | 144 -- ...esItemAnnotationsItemTextActionsMouseUp.cs | 39 - ...emAnnotationsItemTextActionsMouseUpRoot.cs | 38 - ...notationsItemTextActionsMouseUpRootType.cs | 224 --- ...tionsItemTextActionsMouseUpWarningsItem.cs | 144 -- ...ItemAnnotationsItemTextActionsPageClose.cs | 39 - ...AnnotationsItemTextActionsPageCloseRoot.cs | 38 - ...tationsItemTextActionsPageCloseRootType.cs | 224 --- ...onsItemTextActionsPageCloseWarningsItem.cs | 144 -- ...AnnotationsItemTextActionsPageInvisible.cs | 39 - ...tationsItemTextActionsPageInvisibleRoot.cs | 38 - ...onsItemTextActionsPageInvisibleRootType.cs | 224 --- ...temTextActionsPageInvisibleWarningsItem.cs | 144 -- ...sItemAnnotationsItemTextActionsPageOpen.cs | 39 - ...mAnnotationsItemTextActionsPageOpenRoot.cs | 38 - ...otationsItemTextActionsPageOpenRootType.cs | 224 --- ...ionsItemTextActionsPageOpenWarningsItem.cs | 144 -- ...emAnnotationsItemTextActionsPageVisible.cs | 39 - ...notationsItemTextActionsPageVisibleRoot.cs | 38 - ...tionsItemTextActionsPageVisibleRootType.cs | 224 --- ...sItemTextActionsPageVisibleWarningsItem.cs | 144 -- ...sponsePagesItemAnnotationsItemUnderline.cs | 2 +- ...agesItemAnnotationsItemUnderlineActions.cs | 59 - ...AnnotationsItemUnderlineActionsActivate.cs | 39 - ...tationsItemUnderlineActionsActivateRoot.cs | 38 - ...onsItemUnderlineActionsActivateRootType.cs | 224 --- ...temUnderlineActionsActivateWarningsItem.cs | 144 -- ...ItemAnnotationsItemUnderlineActionsBlur.cs | 39 - ...AnnotationsItemUnderlineActionsBlurRoot.cs | 38 - ...tationsItemUnderlineActionsBlurRootType.cs | 224 --- ...onsItemUnderlineActionsBlurWarningsItem.cs | 144 -- ...otationsItemUnderlineActionsCursorEnter.cs | 39 - ...ionsItemUnderlineActionsCursorEnterRoot.cs | 38 - ...ItemUnderlineActionsCursorEnterRootType.cs | 224 --- ...UnderlineActionsCursorEnterWarningsItem.cs | 144 -- ...notationsItemUnderlineActionsCursorExit.cs | 39 - ...tionsItemUnderlineActionsCursorExitRoot.cs | 38 - ...sItemUnderlineActionsCursorExitRootType.cs | 224 --- ...mUnderlineActionsCursorExitWarningsItem.cs | 144 -- ...temAnnotationsItemUnderlineActionsFocus.cs | 39 - ...nnotationsItemUnderlineActionsFocusRoot.cs | 38 - ...ationsItemUnderlineActionsFocusRootType.cs | 224 --- ...nsItemUnderlineActionsFocusWarningsItem.cs | 144 -- ...nnotationsItemUnderlineActionsMouseDown.cs | 39 - ...ationsItemUnderlineActionsMouseDownRoot.cs | 38 - ...nsItemUnderlineActionsMouseDownRootType.cs | 224 --- ...emUnderlineActionsMouseDownWarningsItem.cs | 144 -- ...mAnnotationsItemUnderlineActionsMouseUp.cs | 39 - ...otationsItemUnderlineActionsMouseUpRoot.cs | 38 - ...ionsItemUnderlineActionsMouseUpRootType.cs | 224 --- ...ItemUnderlineActionsMouseUpWarningsItem.cs | 144 -- ...nnotationsItemUnderlineActionsPageClose.cs | 39 - ...ationsItemUnderlineActionsPageCloseRoot.cs | 38 - ...nsItemUnderlineActionsPageCloseRootType.cs | 224 --- ...emUnderlineActionsPageCloseWarningsItem.cs | 144 -- ...ationsItemUnderlineActionsPageInvisible.cs | 39 - ...nsItemUnderlineActionsPageInvisibleRoot.cs | 38 - ...emUnderlineActionsPageInvisibleRootType.cs | 224 --- ...derlineActionsPageInvisibleWarningsItem.cs | 144 -- ...AnnotationsItemUnderlineActionsPageOpen.cs | 39 - ...tationsItemUnderlineActionsPageOpenRoot.cs | 38 - ...onsItemUnderlineActionsPageOpenRootType.cs | 224 --- ...temUnderlineActionsPageOpenWarningsItem.cs | 144 -- ...otationsItemUnderlineActionsPageVisible.cs | 39 - ...ionsItemUnderlineActionsPageVisibleRoot.cs | 38 - ...ItemUnderlineActionsPageVisibleRootType.cs | 224 --- ...UnderlineActionsPageVisibleWarningsItem.cs | 144 -- ...onsePagesItemAnnotationsItemUnsupported.cs | 2 +- ...esItemAnnotationsItemUnsupportedActions.cs | 59 - ...notationsItemUnsupportedActionsActivate.cs | 39 - ...tionsItemUnsupportedActionsActivateRoot.cs | 38 - ...sItemUnsupportedActionsActivateRootType.cs | 224 --- ...mUnsupportedActionsActivateWarningsItem.cs | 144 -- ...emAnnotationsItemUnsupportedActionsBlur.cs | 39 - ...notationsItemUnsupportedActionsBlurRoot.cs | 38 - ...tionsItemUnsupportedActionsBlurRootType.cs | 224 --- ...sItemUnsupportedActionsBlurWarningsItem.cs | 144 -- ...ationsItemUnsupportedActionsCursorEnter.cs | 39 - ...nsItemUnsupportedActionsCursorEnterRoot.cs | 38 - ...emUnsupportedActionsCursorEnterRootType.cs | 224 --- ...supportedActionsCursorEnterWarningsItem.cs | 144 -- ...tationsItemUnsupportedActionsCursorExit.cs | 39 - ...onsItemUnsupportedActionsCursorExitRoot.cs | 38 - ...temUnsupportedActionsCursorExitRootType.cs | 224 --- ...nsupportedActionsCursorExitWarningsItem.cs | 144 -- ...mAnnotationsItemUnsupportedActionsFocus.cs | 39 - ...otationsItemUnsupportedActionsFocusRoot.cs | 38 - ...ionsItemUnsupportedActionsFocusRootType.cs | 224 --- ...ItemUnsupportedActionsFocusWarningsItem.cs | 144 -- ...otationsItemUnsupportedActionsMouseDown.cs | 39 - ...ionsItemUnsupportedActionsMouseDownRoot.cs | 38 - ...ItemUnsupportedActionsMouseDownRootType.cs | 224 --- ...UnsupportedActionsMouseDownWarningsItem.cs | 144 -- ...nnotationsItemUnsupportedActionsMouseUp.cs | 39 - ...ationsItemUnsupportedActionsMouseUpRoot.cs | 38 - ...nsItemUnsupportedActionsMouseUpRootType.cs | 224 --- ...emUnsupportedActionsMouseUpWarningsItem.cs | 144 -- ...otationsItemUnsupportedActionsPageClose.cs | 39 - ...ionsItemUnsupportedActionsPageCloseRoot.cs | 38 - ...ItemUnsupportedActionsPageCloseRootType.cs | 224 --- ...UnsupportedActionsPageCloseWarningsItem.cs | 144 -- ...ionsItemUnsupportedActionsPageInvisible.cs | 39 - ...ItemUnsupportedActionsPageInvisibleRoot.cs | 38 - ...UnsupportedActionsPageInvisibleRootType.cs | 224 --- ...pportedActionsPageInvisibleWarningsItem.cs | 144 -- ...notationsItemUnsupportedActionsPageOpen.cs | 39 - ...tionsItemUnsupportedActionsPageOpenRoot.cs | 38 - ...sItemUnsupportedActionsPageOpenRootType.cs | 224 --- ...mUnsupportedActionsPageOpenWarningsItem.cs | 144 -- ...ationsItemUnsupportedActionsPageVisible.cs | 39 - ...nsItemUnsupportedActionsPageVisibleRoot.cs | 38 - ...emUnsupportedActionsPageVisibleRootType.cs | 224 --- ...supportedActionsPageVisibleWarningsItem.cs | 144 -- ...0ResponsePagesItemAnnotationsItemWidget.cs | 2 +- ...sePagesItemAnnotationsItemWidgetActions.cs | 59 - ...temAnnotationsItemWidgetActionsActivate.cs | 39 - ...nnotationsItemWidgetActionsActivateRoot.cs | 38 - ...ationsItemWidgetActionsActivateRootType.cs | 224 --- ...nsItemWidgetActionsActivateWarningsItem.cs | 144 -- ...gesItemAnnotationsItemWidgetActionsBlur.cs | 39 - ...temAnnotationsItemWidgetActionsBlurRoot.cs | 38 - ...nnotationsItemWidgetActionsBlurRootType.cs | 224 --- ...ationsItemWidgetActionsBlurWarningsItem.cs | 144 -- ...AnnotationsItemWidgetActionsCursorEnter.cs | 39 - ...tationsItemWidgetActionsCursorEnterRoot.cs | 38 - ...onsItemWidgetActionsCursorEnterRootType.cs | 224 --- ...temWidgetActionsCursorEnterWarningsItem.cs | 144 -- ...mAnnotationsItemWidgetActionsCursorExit.cs | 39 - ...otationsItemWidgetActionsCursorExitRoot.cs | 38 - ...ionsItemWidgetActionsCursorExitRootType.cs | 224 --- ...ItemWidgetActionsCursorExitWarningsItem.cs | 144 -- ...esItemAnnotationsItemWidgetActionsFocus.cs | 39 - ...emAnnotationsItemWidgetActionsFocusRoot.cs | 38 - ...notationsItemWidgetActionsFocusRootType.cs | 224 --- ...tionsItemWidgetActionsFocusWarningsItem.cs | 144 -- ...emAnnotationsItemWidgetActionsMouseDown.cs | 39 - ...notationsItemWidgetActionsMouseDownRoot.cs | 38 - ...tionsItemWidgetActionsMouseDownRootType.cs | 224 --- ...sItemWidgetActionsMouseDownWarningsItem.cs | 144 -- ...ItemAnnotationsItemWidgetActionsMouseUp.cs | 39 - ...AnnotationsItemWidgetActionsMouseUpRoot.cs | 38 - ...tationsItemWidgetActionsMouseUpRootType.cs | 224 --- ...onsItemWidgetActionsMouseUpWarningsItem.cs | 144 -- ...emAnnotationsItemWidgetActionsPageClose.cs | 39 - ...notationsItemWidgetActionsPageCloseRoot.cs | 38 - ...tionsItemWidgetActionsPageCloseRootType.cs | 224 --- ...sItemWidgetActionsPageCloseWarningsItem.cs | 144 -- ...notationsItemWidgetActionsPageInvisible.cs | 39 - ...tionsItemWidgetActionsPageInvisibleRoot.cs | 38 - ...sItemWidgetActionsPageInvisibleRootType.cs | 224 --- ...mWidgetActionsPageInvisibleWarningsItem.cs | 144 -- ...temAnnotationsItemWidgetActionsPageOpen.cs | 39 - ...nnotationsItemWidgetActionsPageOpenRoot.cs | 38 - ...ationsItemWidgetActionsPageOpenRootType.cs | 224 --- ...nsItemWidgetActionsPageOpenWarningsItem.cs | 144 -- ...AnnotationsItemWidgetActionsPageVisible.cs | 39 - ...tationsItemWidgetActionsPageVisibleRoot.cs | 38 - ...onsItemWidgetActionsPageVisibleRootType.cs | 224 --- ...temWidgetActionsPageVisibleWarningsItem.cs | 144 -- ...ocFormsGet200ResponseFieldsItemCheckbox.cs | 2 +- ...Get200ResponseFieldsItemCheckboxActions.cs | 37 - ...ponseFieldsItemCheckboxActionsCalculate.cs | 38 - ...eFieldsItemCheckboxActionsCalculateRoot.cs | 37 - ...ldsItemCheckboxActionsCalculateRootType.cs | 220 --- ...temCheckboxActionsCalculateWarningsItem.cs | 140 -- ...ResponseFieldsItemCheckboxActionsFormat.cs | 38 - ...onseFieldsItemCheckboxActionsFormatRoot.cs | 37 - ...FieldsItemCheckboxActionsFormatRootType.cs | 219 --- ...dsItemCheckboxActionsFormatWarningsItem.cs | 140 -- ...ponseFieldsItemCheckboxActionsKeystroke.cs | 38 - ...eFieldsItemCheckboxActionsKeystrokeRoot.cs | 37 - ...ldsItemCheckboxActionsKeystrokeRootType.cs | 220 --- ...temCheckboxActionsKeystrokeWarningsItem.cs | 140 -- ...sponseFieldsItemCheckboxActionsValidate.cs | 38 - ...seFieldsItemCheckboxActionsValidateRoot.cs | 37 - ...eldsItemCheckboxActionsValidateRootType.cs | 216 --- ...ItemCheckboxActionsValidateWarningsItem.cs | 140 -- ...ocFormsGet200ResponseFieldsItemCombobox.cs | 2 +- ...Get200ResponseFieldsItemComboboxActions.cs | 37 - ...ponseFieldsItemComboboxActionsCalculate.cs | 38 - ...eFieldsItemComboboxActionsCalculateRoot.cs | 37 - ...ldsItemComboboxActionsCalculateRootType.cs | 220 --- ...temComboboxActionsCalculateWarningsItem.cs | 140 -- ...ResponseFieldsItemComboboxActionsFormat.cs | 38 - ...onseFieldsItemComboboxActionsFormatRoot.cs | 37 - ...FieldsItemComboboxActionsFormatRootType.cs | 219 --- ...dsItemComboboxActionsFormatWarningsItem.cs | 140 -- ...ponseFieldsItemComboboxActionsKeystroke.cs | 38 - ...eFieldsItemComboboxActionsKeystrokeRoot.cs | 37 - ...ldsItemComboboxActionsKeystrokeRootType.cs | 220 --- ...temComboboxActionsKeystrokeWarningsItem.cs | 140 -- ...sponseFieldsItemComboboxActionsValidate.cs | 38 - ...seFieldsItemComboboxActionsValidateRoot.cs | 37 - ...eldsItemComboboxActionsValidateRootType.cs | 216 --- ...ItemComboboxActionsValidateWarningsItem.cs | 140 -- ...DocFormsGet200ResponseFieldsItemListbox.cs | 2 +- ...sGet200ResponseFieldsItemListboxActions.cs | 37 - ...sponseFieldsItemListboxActionsCalculate.cs | 38 - ...seFieldsItemListboxActionsCalculateRoot.cs | 37 - ...eldsItemListboxActionsCalculateRootType.cs | 216 --- ...ItemListboxActionsCalculateWarningsItem.cs | 140 -- ...0ResponseFieldsItemListboxActionsFormat.cs | 38 - ...ponseFieldsItemListboxActionsFormatRoot.cs | 37 - ...eFieldsItemListboxActionsFormatRootType.cs | 222 --- ...ldsItemListboxActionsFormatWarningsItem.cs | 140 -- ...sponseFieldsItemListboxActionsKeystroke.cs | 38 - ...seFieldsItemListboxActionsKeystrokeRoot.cs | 37 - ...eldsItemListboxActionsKeystrokeRootType.cs | 216 --- ...ItemListboxActionsKeystrokeWarningsItem.cs | 140 -- ...esponseFieldsItemListboxActionsValidate.cs | 38 - ...nseFieldsItemListboxActionsValidateRoot.cs | 37 - ...ieldsItemListboxActionsValidateRootType.cs | 217 --- ...sItemListboxActionsValidateWarningsItem.cs | 140 -- ...FormsGet200ResponseFieldsItemPushbutton.cs | 2 +- ...t200ResponseFieldsItemPushbuttonActions.cs | 37 - ...nseFieldsItemPushbuttonActionsCalculate.cs | 38 - ...ieldsItemPushbuttonActionsCalculateRoot.cs | 37 - ...sItemPushbuttonActionsCalculateRootType.cs | 220 --- ...mPushbuttonActionsCalculateWarningsItem.cs | 140 -- ...sponseFieldsItemPushbuttonActionsFormat.cs | 38 - ...seFieldsItemPushbuttonActionsFormatRoot.cs | 37 - ...eldsItemPushbuttonActionsFormatRootType.cs | 216 --- ...ItemPushbuttonActionsFormatWarningsItem.cs | 140 -- ...nseFieldsItemPushbuttonActionsKeystroke.cs | 38 - ...ieldsItemPushbuttonActionsKeystrokeRoot.cs | 37 - ...sItemPushbuttonActionsKeystrokeRootType.cs | 220 --- ...mPushbuttonActionsKeystrokeWarningsItem.cs | 140 -- ...onseFieldsItemPushbuttonActionsValidate.cs | 38 - ...FieldsItemPushbuttonActionsValidateRoot.cs | 37 - ...dsItemPushbuttonActionsValidateRootType.cs | 220 --- ...emPushbuttonActionsValidateWarningsItem.cs | 140 -- .../DocFormsGet200ResponseFieldsItemRadio.cs | 2 +- ...rmsGet200ResponseFieldsItemRadioActions.cs | 37 - ...ResponseFieldsItemRadioActionsCalculate.cs | 38 - ...onseFieldsItemRadioActionsCalculateRoot.cs | 37 - ...FieldsItemRadioActionsCalculateRootType.cs | 219 --- ...dsItemRadioActionsCalculateWarningsItem.cs | 140 -- ...200ResponseFieldsItemRadioActionsFormat.cs | 38 - ...nseFieldsItemRadioActionsFormatRootType.cs | 225 --- ...ieldsItemRadioActionsFormatWarningsItem.cs | 136 -- ...ResponseFieldsItemRadioActionsKeystroke.cs | 38 - ...onseFieldsItemRadioActionsKeystrokeRoot.cs | 37 - ...FieldsItemRadioActionsKeystrokeRootType.cs | 219 --- ...dsItemRadioActionsKeystrokeWarningsItem.cs | 140 -- ...0ResponseFieldsItemRadioActionsValidate.cs | 38 - ...ponseFieldsItemRadioActionsValidateRoot.cs | 37 - ...eFieldsItemRadioActionsValidateRootType.cs | 222 --- ...ldsItemRadioActionsValidateWarningsItem.cs | 140 -- ...cFormsGet200ResponseFieldsItemSignature.cs | 2 +- ...et200ResponseFieldsItemSignatureActions.cs | 37 - ...onseFieldsItemSignatureActionsCalculate.cs | 38 - ...FieldsItemSignatureActionsCalculateRoot.cs | 37 - ...dsItemSignatureActionsCalculateRootType.cs | 220 --- ...emSignatureActionsCalculateWarningsItem.cs | 140 -- ...esponseFieldsItemSignatureActionsFormat.cs | 38 - ...nseFieldsItemSignatureActionsFormatRoot.cs | 37 - ...ieldsItemSignatureActionsFormatRootType.cs | 217 --- ...sItemSignatureActionsFormatWarningsItem.cs | 140 -- ...onseFieldsItemSignatureActionsKeystroke.cs | 38 - ...FieldsItemSignatureActionsKeystrokeRoot.cs | 37 - ...dsItemSignatureActionsKeystrokeRootType.cs | 220 --- ...emSignatureActionsKeystrokeWarningsItem.cs | 140 -- ...ponseFieldsItemSignatureActionsValidate.cs | 38 - ...eFieldsItemSignatureActionsValidateRoot.cs | 37 - ...ldsItemSignatureActionsValidateRootType.cs | 220 --- ...temSignatureActionsValidateWarningsItem.cs | 140 -- .../DocFormsGet200ResponseFieldsItemText.cs | 2 +- ...0ResponseFieldsItemTextActionsCalculate.cs | 38 - ...eFieldsItemTextActionsCalculateRootType.cs | 222 --- ...ldsItemTextActionsCalculateWarningsItem.cs | 140 -- ...onseFieldsItemTextActionsFormatRootType.cs | 223 --- ...FieldsItemTextActionsFormatWarningsItem.cs | 136 -- ...0ResponseFieldsItemTextActionsKeystroke.cs | 38 - ...ponseFieldsItemTextActionsKeystrokeRoot.cs | 37 - ...eFieldsItemTextActionsKeystrokeRootType.cs | 222 --- ...ldsItemTextActionsKeystrokeWarningsItem.cs | 140 -- ...00ResponseFieldsItemTextActionsValidate.cs | 38 - ...seFieldsItemTextActionsValidateRootType.cs | 224 --- ...eldsItemTextActionsValidateWarningsItem.cs | 136 -- ...DocFormsGet200ResponseFieldsItemUnknown.cs | 2 +- ...sGet200ResponseFieldsItemUnknownActions.cs | 37 - ...sponseFieldsItemUnknownActionsCalculate.cs | 38 - ...seFieldsItemUnknownActionsCalculateRoot.cs | 37 - ...eldsItemUnknownActionsCalculateRootType.cs | 216 --- ...ItemUnknownActionsCalculateWarningsItem.cs | 140 -- ...0ResponseFieldsItemUnknownActionsFormat.cs | 38 - ...ponseFieldsItemUnknownActionsFormatRoot.cs | 37 - ...eFieldsItemUnknownActionsFormatRootType.cs | 222 --- ...ldsItemUnknownActionsFormatWarningsItem.cs | 140 -- ...sponseFieldsItemUnknownActionsKeystroke.cs | 38 - ...seFieldsItemUnknownActionsKeystrokeRoot.cs | 37 - ...eldsItemUnknownActionsKeystrokeRootType.cs | 216 --- ...ItemUnknownActionsKeystrokeWarningsItem.cs | 140 -- ...esponseFieldsItemUnknownActionsValidate.cs | 38 - ...nseFieldsItemUnknownActionsValidateRoot.cs | 37 - ...ieldsItemUnknownActionsValidateRootType.cs | 217 --- ...sItemUnknownActionsValidateWarningsItem.cs | 140 -- src/CloudPDF/Types/DocumentActionsSnapshot.cs | 50 + ...umentActionsSnapshotNameTreeScriptsItem.cs | 31 + src/CloudPDF/Types/PdfActionNode.cs | 1462 +++++++++++++++++ src/CloudPDF/Types/PdfActionNodeGoto.cs | 34 + src/CloudPDF/Types/PdfActionNodeGoto3DView.cs | 31 + .../Types/PdfActionNodeGotoEmbedded.cs | 34 + src/CloudPDF/Types/PdfActionNodeGotoRemote.cs | 34 + ...nsValidateRoot.cs => PdfActionNodeHide.cs} | 14 +- src/CloudPDF/Types/PdfActionNodeImportData.cs | 31 + ...rmatRoot.cs => PdfActionNodeJavascript.cs} | 11 +- src/CloudPDF/Types/PdfActionNodeLaunch.cs | 34 + src/CloudPDF/Types/PdfActionNodeMovie.cs | 31 + src/CloudPDF/Types/PdfActionNodeNamed.cs | 34 + ...ormatRoot.cs => PdfActionNodeRendition.cs} | 11 +- ...ulateRoot.cs => PdfActionNodeResetForm.cs} | 14 +- .../Types/PdfActionNodeSetOcgState.cs | 31 + src/CloudPDF/Types/PdfActionNodeSound.cs | 31 + src/CloudPDF/Types/PdfActionNodeSubmitForm.cs | 34 + .../Types/PdfActionNodeSubmitFormPayload.cs | 37 + .../PdfActionNodeSubmitFormPayloadFlags.cs | 61 + ...fActionNodeSubmitFormPayloadFlagsFormat.cs | 132 ++ ...fActionNodeSubmitFormPayloadFlagsMethod.cs | 124 ++ src/CloudPDF/Types/PdfActionNodeThread.cs | 31 + src/CloudPDF/Types/PdfActionNodeTransition.cs | 31 + src/CloudPDF/Types/PdfActionNodeUnknown.cs | 31 + src/CloudPDF/Types/PdfActionNodeUri.cs | 37 + src/CloudPDF/Types/PdfActionTargetRef.cs | 284 ++++ ...nationFit.cs => PdfActionTargetRefName.cs} | 7 +- ...B.cs => PdfActionTargetRefObjectNumber.cs} | 7 +- ...mTextActionsFormat.cs => PdfActionTree.cs} | 8 +- .../Types/PdfActionTreeWarningsItem.cs | 123 ++ src/CloudPDF/Types/PdfAnnotationActions.cs | 58 + src/CloudPDF/Types/PdfDestination.cs | 680 ++++++++ ...DestinationFit.cs => PdfDestinationFit.cs} | 3 +- ...stinationFitB.cs => PdfDestinationFitB.cs} | 3 +- ...tinationFitH.cs => PdfDestinationFitBh.cs} | 3 +- ...tinationFitV.cs => PdfDestinationFitBv.cs} | 3 +- ...tinationFitBh.cs => PdfDestinationFitH.cs} | 3 +- ...stinationFitR.cs => PdfDestinationFitR.cs} | 3 +- ...tinationFitBv.cs => PdfDestinationFitV.cs} | 3 +- ...DestinationXyz.cs => PdfDestinationXyz.cs} | 3 +- ...sItemTextActions.cs => PdfFieldActions.cs} | 10 +- src/CloudPDF/Types/PdfPageActions.cs | 31 + 1945 files changed, 3754 insertions(+), 203733 deletions(-) delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActions.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivate.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlur.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnter.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExit.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocus.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDown.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUp.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageClose.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpen.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisible.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRoot.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType.cs delete mode 100644 src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActions.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormat.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidate.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType.cs delete mode 100644 src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem.cs create mode 100644 src/CloudPDF/Types/DocumentActionsSnapshot.cs create mode 100644 src/CloudPDF/Types/DocumentActionsSnapshotNameTreeScriptsItem.cs create mode 100644 src/CloudPDF/Types/PdfActionNode.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeGoto.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeGoto3DView.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeGotoEmbedded.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeGotoRemote.cs rename src/CloudPDF/Types/{DocFormsGet200ResponseFieldsItemTextActionsValidateRoot.cs => PdfActionNodeHide.cs} (73%) create mode 100644 src/CloudPDF/Types/PdfActionNodeImportData.cs rename src/CloudPDF/Types/{DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot.cs => PdfActionNodeJavascript.cs} (76%) create mode 100644 src/CloudPDF/Types/PdfActionNodeLaunch.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeMovie.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeNamed.cs rename src/CloudPDF/Types/{DocFormsGet200ResponseFieldsItemTextActionsFormatRoot.cs => PdfActionNodeRendition.cs} (80%) rename src/CloudPDF/Types/{DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot.cs => PdfActionNodeResetForm.cs} (73%) create mode 100644 src/CloudPDF/Types/PdfActionNodeSetOcgState.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeSound.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeSubmitForm.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeSubmitFormPayload.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlags.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsFormat.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsMethod.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeThread.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeTransition.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeUnknown.cs create mode 100644 src/CloudPDF/Types/PdfActionNodeUri.cs create mode 100644 src/CloudPDF/Types/PdfActionTargetRef.cs rename src/CloudPDF/Types/{DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit.cs => PdfActionTargetRefName.cs} (73%) rename src/CloudPDF/Types/{DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB.cs => PdfActionTargetRefObjectNumber.cs} (73%) rename src/CloudPDF/Types/{DocFormsGet200ResponseFieldsItemTextActionsFormat.cs => PdfActionTree.cs} (70%) create mode 100644 src/CloudPDF/Types/PdfActionTreeWarningsItem.cs create mode 100644 src/CloudPDF/Types/PdfAnnotationActions.cs create mode 100644 src/CloudPDF/Types/PdfDestination.cs rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit.cs => PdfDestinationFit.cs} (86%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB.cs => PdfDestinationFitB.cs} (86%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH.cs => PdfDestinationFitBh.cs} (87%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV.cs => PdfDestinationFitBv.cs} (87%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh.cs => PdfDestinationFitH.cs} (87%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR.cs => PdfDestinationFitR.cs} (90%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv.cs => PdfDestinationFitV.cs} (87%) rename src/CloudPDF/Types/{DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz.cs => PdfDestinationXyz.cs} (89%) rename src/CloudPDF/Types/{DocFormsGet200ResponseFieldsItemTextActions.cs => PdfFieldActions.cs} (64%) create mode 100644 src/CloudPDF/Types/PdfPageActions.cs diff --git a/.fern/metadata.json b/.fern/metadata.json index dd87523..8819ebf 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -10,10 +10,10 @@ "base-exception-class-name": "CloudPDFException", "base-api-exception-class-name": "CloudPDFApiException" }, - "originGitCommit": "31a712963c171ce9ebd6815e873c9895e389afc2", + "originGitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4", "originGitCommitIsDirty": false, "invokedBy": "ci", - "requestedVersion": "3.0.0-next.10", + "requestedVersion": "3.0.0-next.11", "ciProvider": "github", - "sdkVersion": "3.0.0-next.10" + "sdkVersion": "3.0.0-next.11" } \ No newline at end of file diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json index 9019088..db9259d 100644 --- a/cloudpdf-generation.json +++ b/cloudpdf-generation.json @@ -1,12 +1,12 @@ { "language": "csharp", - "canonicalVersion": "3.0.0-next.10", - "sdkVersion": "3.0.0-next.10", + "canonicalVersion": "3.0.0-next.11", + "sdkVersion": "3.0.0-next.11", "source": { "repository": "embedpdf/embed-pdf-viewer", "openapi": "cloudpdf/contract/openapi.json", - "openapiSha256": "9d6c7cdd459982ba9e718a3842c969003b466e3fd73883fef7783dc78e12cdfe", - "gitCommit": "31a712963c171ce9ebd6815e873c9895e389afc2", + "openapiSha256": "7bc0eea37724b3e359b0437edc3102b137e3d3f499293c89bb2b3293c6e3b614", + "gitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4", "gitCommitIsDirty": false }, "fern": { diff --git a/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs b/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs index 1dbfdca..971a2ed 100644 --- a/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs +++ b/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs @@ -74,9 +74,8 @@ public async Task MockServerTest_1() "actions": { "activate": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -84,7 +83,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -95,9 +95,8 @@ public async Task MockServerTest_1() }, "cursorEnter": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -105,7 +104,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -116,9 +116,8 @@ public async Task MockServerTest_1() }, "cursorExit": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -126,7 +125,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -137,9 +137,8 @@ public async Task MockServerTest_1() }, "mouseDown": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -147,7 +146,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -158,9 +158,8 @@ public async Task MockServerTest_1() }, "mouseUp": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -168,7 +167,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -179,9 +179,8 @@ public async Task MockServerTest_1() }, "focus": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -189,7 +188,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -200,9 +200,8 @@ public async Task MockServerTest_1() }, "blur": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -210,7 +209,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -221,9 +221,8 @@ public async Task MockServerTest_1() }, "pageOpen": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -231,7 +230,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -242,9 +242,8 @@ public async Task MockServerTest_1() }, "pageClose": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -252,7 +251,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -263,9 +263,8 @@ public async Task MockServerTest_1() }, "pageVisible": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -273,7 +272,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -284,9 +284,8 @@ public async Task MockServerTest_1() }, "pageInvisible": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -294,7 +293,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -397,9 +397,8 @@ public async Task MockServerTest_1() "actions": { "activate": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -407,7 +406,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -418,9 +418,8 @@ public async Task MockServerTest_1() }, "cursorEnter": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -428,7 +427,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -439,9 +439,8 @@ public async Task MockServerTest_1() }, "cursorExit": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -449,7 +448,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -460,9 +460,8 @@ public async Task MockServerTest_1() }, "mouseDown": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -470,7 +469,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -481,9 +481,8 @@ public async Task MockServerTest_1() }, "mouseUp": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -491,7 +490,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -502,9 +502,8 @@ public async Task MockServerTest_1() }, "focus": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -512,7 +511,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -523,9 +523,8 @@ public async Task MockServerTest_1() }, "blur": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -533,7 +532,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -544,9 +544,8 @@ public async Task MockServerTest_1() }, "pageOpen": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -554,7 +553,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -565,9 +565,8 @@ public async Task MockServerTest_1() }, "pageClose": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -575,7 +574,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -586,9 +586,8 @@ public async Task MockServerTest_1() }, "pageVisible": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -596,7 +595,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -607,9 +607,8 @@ public async Task MockServerTest_1() }, "pageInvisible": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -617,7 +616,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, diff --git a/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs b/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs index 2c448e4..af5d103 100644 --- a/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs +++ b/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs @@ -43,9 +43,8 @@ public async Task MockServerTest_1() "actions": { "keystroke": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -53,7 +52,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -64,9 +64,8 @@ public async Task MockServerTest_1() }, "format": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -74,7 +73,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -85,9 +85,8 @@ public async Task MockServerTest_1() }, "validate": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -95,7 +94,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -106,9 +106,8 @@ public async Task MockServerTest_1() }, "calculate": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -116,7 +115,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -169,9 +169,8 @@ public async Task MockServerTest_1() "actions": { "keystroke": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -179,7 +178,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -190,9 +190,8 @@ public async Task MockServerTest_1() }, "format": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -200,7 +199,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -211,9 +211,8 @@ public async Task MockServerTest_1() }, "validate": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -221,7 +220,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, @@ -232,9 +232,8 @@ public async Task MockServerTest_1() }, "calculate": { "root": { - "type": "unknown", + "type": "javascript", "subtype": "subtype", - "script": "script", "next": [ { "key": "value" @@ -242,7 +241,8 @@ public async Task MockServerTest_1() { "key": "value" } - ] + ], + "script": "script" }, "incomplete": true, "warningFlags": 1, diff --git a/src/CloudPDF/CloudPDF.csproj b/src/CloudPDF/CloudPDF.csproj index 20d78d3..8e5893e 100644 --- a/src/CloudPDF/CloudPDF.csproj +++ b/src/CloudPDF/CloudPDF.csproj @@ -11,7 +11,7 @@ enable 12 enable - 3.0.0-next.10 + 3.0.0-next.11 3.0.0.0 3.0.0.0 README.md diff --git a/src/CloudPDF/Core/Public/Version.cs b/src/CloudPDF/Core/Public/Version.cs index 020dbec..d51f479 100644 --- a/src/CloudPDF/Core/Public/Version.cs +++ b/src/CloudPDF/Core/Public/Version.cs @@ -3,5 +3,5 @@ namespace CloudPDF; [Serializable] internal class Version { - public const string Current = "3.0.0-next.10"; + public const string Current = "3.0.0-next.11"; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs index 93589c2..277db11 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemCaret : IJsonOnDeseria public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemCaretColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs deleted file mode 100644 index 8b88d44..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs deleted file mode 100644 index 50c885c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs deleted file mode 100644 index 6a52459..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType.cs deleted file mode 100644 index 0b1eb5f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem.cs deleted file mode 100644 index 10e3626..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur.cs deleted file mode 100644 index 58149b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot.cs deleted file mode 100644 index 61ae531..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType.cs deleted file mode 100644 index a6c97ce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem.cs deleted file mode 100644 index abccd3d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter.cs deleted file mode 100644 index 372a4a8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot.cs deleted file mode 100644 index 1f89dad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType.cs deleted file mode 100644 index dbf8874..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem.cs deleted file mode 100644 index b590ec6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit.cs deleted file mode 100644 index eda9ef0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot.cs deleted file mode 100644 index 8f09081..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType.cs deleted file mode 100644 index 550272b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem.cs deleted file mode 100644 index bacdce1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus.cs deleted file mode 100644 index ff18e1a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot.cs deleted file mode 100644 index 39c33b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType.cs deleted file mode 100644 index 27b0946..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem.cs deleted file mode 100644 index 4b28ed2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown.cs deleted file mode 100644 index 2651a7b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot.cs deleted file mode 100644 index 19fab80..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType.cs deleted file mode 100644 index ede2a34..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem.cs deleted file mode 100644 index ee4c046..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp.cs deleted file mode 100644 index 3620595..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot.cs deleted file mode 100644 index cc29ba7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType.cs deleted file mode 100644 index f52787a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem.cs deleted file mode 100644 index 01d678a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose.cs deleted file mode 100644 index 0123c19..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot.cs deleted file mode 100644 index a6c7505..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType.cs deleted file mode 100644 index cf55522..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem.cs deleted file mode 100644 index 3bfd6f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible.cs deleted file mode 100644 index 74501ee..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot.cs deleted file mode 100644 index 1e904bc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType.cs deleted file mode 100644 index 6e81659..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index cb138df..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen.cs deleted file mode 100644 index 23dca93..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot.cs deleted file mode 100644 index 6d83fbc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType.cs deleted file mode 100644 index 056410b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem.cs deleted file mode 100644 index e2259e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible.cs deleted file mode 100644 index 908cf79..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot.cs deleted file mode 100644 index 7a45319..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType.cs deleted file mode 100644 index c9394f3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 2e5585c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircle.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircle.cs index c607ed0..3f8899c 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircle.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircle.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemCircle : IJsonOnDeseri public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemCircleColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActions.cs deleted file mode 100644 index 9f19214..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate.cs deleted file mode 100644 index 43495bd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot.cs deleted file mode 100644 index 35753a6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType.cs deleted file mode 100644 index 0400e54..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem.cs deleted file mode 100644 index 08b1aa8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur.cs deleted file mode 100644 index a0d044e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot.cs deleted file mode 100644 index e04573e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType.cs deleted file mode 100644 index 138d61a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem.cs deleted file mode 100644 index 2b4dde5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter.cs deleted file mode 100644 index e473070..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot.cs deleted file mode 100644 index a68efe6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType.cs deleted file mode 100644 index 4ccb5da..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem.cs deleted file mode 100644 index ce06f5a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit.cs deleted file mode 100644 index 6ba9f6e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot.cs deleted file mode 100644 index ecc13be..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType.cs deleted file mode 100644 index 6d04227..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem.cs deleted file mode 100644 index 51cd89c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus.cs deleted file mode 100644 index e8ac925..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot.cs deleted file mode 100644 index 72c9575..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType.cs deleted file mode 100644 index 8db4044..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem.cs deleted file mode 100644 index acc1aa9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown.cs deleted file mode 100644 index 167bd5c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot.cs deleted file mode 100644 index 2b88876..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType.cs deleted file mode 100644 index 19b2f85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem.cs deleted file mode 100644 index 9876c41..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp.cs deleted file mode 100644 index b0cb61e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot.cs deleted file mode 100644 index 308de73..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType.cs deleted file mode 100644 index 405f413..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem.cs deleted file mode 100644 index 134050a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose.cs deleted file mode 100644 index 9159097..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot.cs deleted file mode 100644 index 75110d9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType.cs deleted file mode 100644 index 3990077..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem.cs deleted file mode 100644 index d421211..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible.cs deleted file mode 100644 index 9a90e76..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot.cs deleted file mode 100644 index e781972..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType.cs deleted file mode 100644 index f4afc00..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 7ecd724..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen.cs deleted file mode 100644 index e970240..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot.cs deleted file mode 100644 index 6086659..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType.cs deleted file mode 100644 index effc0db..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem.cs deleted file mode 100644 index d57cf67..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible.cs deleted file mode 100644 index ab6d1da..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot.cs deleted file mode 100644 index 0f55d27..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType.cs deleted file mode 100644 index 7dc05f8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem.cs deleted file mode 100644 index b5adb3f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemCircleActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.cs index 9787c91..855ef94 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemFileAttachment : IJson public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions.cs deleted file mode 100644 index 71acb90..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate.cs deleted file mode 100644 index e0311c9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot.cs deleted file mode 100644 index 41debdc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType.cs deleted file mode 100644 index a02a938..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs deleted file mode 100644 index eaaefaf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur.cs deleted file mode 100644 index de2ef2a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot.cs deleted file mode 100644 index 9b302aa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType.cs deleted file mode 100644 index 2bf38fa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs deleted file mode 100644 index 5c99715..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter.cs deleted file mode 100644 index 96f5c31..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs deleted file mode 100644 index 34a8a1a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs deleted file mode 100644 index 83f7914..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs deleted file mode 100644 index c797f05..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit.cs deleted file mode 100644 index a1af0ab..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot.cs deleted file mode 100644 index e050515..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType.cs deleted file mode 100644 index 2d59579..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs deleted file mode 100644 index dd32e5c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus.cs deleted file mode 100644 index 681e2b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot.cs deleted file mode 100644 index b9ec919..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType.cs deleted file mode 100644 index f8f3f3b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs deleted file mode 100644 index 26139d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown.cs deleted file mode 100644 index 230d698..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot.cs deleted file mode 100644 index 8e84acd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType.cs deleted file mode 100644 index 3dd438b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs deleted file mode 100644 index 8943a1f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp.cs deleted file mode 100644 index dec7884..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot.cs deleted file mode 100644 index b35cd9c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType.cs deleted file mode 100644 index 57fb6ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs deleted file mode 100644 index 77d1413..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose.cs deleted file mode 100644 index 63e980b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot.cs deleted file mode 100644 index 862de66..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType.cs deleted file mode 100644 index 307fdf0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs deleted file mode 100644 index 8a65ae4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible.cs deleted file mode 100644 index f087332..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs deleted file mode 100644 index 799df88..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs deleted file mode 100644 index a62ecd2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 9389ebd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen.cs deleted file mode 100644 index 39bbccc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot.cs deleted file mode 100644 index 01a506b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType.cs deleted file mode 100644 index cae92be..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs deleted file mode 100644 index aab51de..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible.cs deleted file mode 100644 index 2e32ce7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs deleted file mode 100644 index 410ffb6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs deleted file mode 100644 index 252b026..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs deleted file mode 100644 index d0f3bb0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeText.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeText.cs index 5bfaa2a..4785b84 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeText.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeText.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemFreeText : IJsonOnDese public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("intent")] public required DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent Intent { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActions.cs deleted file mode 100644 index a1d8bbd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate.cs deleted file mode 100644 index 2d522dd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot.cs deleted file mode 100644 index cd40b29..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType.cs deleted file mode 100644 index cf8d895..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem.cs deleted file mode 100644 index 832ae55..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur.cs deleted file mode 100644 index 77c0fbf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot.cs deleted file mode 100644 index f16800f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType.cs deleted file mode 100644 index 8d9cfc9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem.cs deleted file mode 100644 index 4f3a419..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter.cs deleted file mode 100644 index 5fdd226..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot.cs deleted file mode 100644 index db57cc1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType.cs deleted file mode 100644 index c4e580e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs deleted file mode 100644 index eca2e9b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit.cs deleted file mode 100644 index 03c1a71..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot.cs deleted file mode 100644 index efaf54c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType.cs deleted file mode 100644 index 1426f44..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs deleted file mode 100644 index 67d5ec9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus.cs deleted file mode 100644 index c98604b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot.cs deleted file mode 100644 index c426b96..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType.cs deleted file mode 100644 index c1ea200..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem.cs deleted file mode 100644 index 68da10a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown.cs deleted file mode 100644 index 4886bfa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot.cs deleted file mode 100644 index f14e67d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType.cs deleted file mode 100644 index ed63de7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs deleted file mode 100644 index 6c50b3b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp.cs deleted file mode 100644 index 8011e2f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot.cs deleted file mode 100644 index 105df28..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType.cs deleted file mode 100644 index 746c549..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs deleted file mode 100644 index 5443aff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose.cs deleted file mode 100644 index 7fe066d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot.cs deleted file mode 100644 index 8847e16..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType.cs deleted file mode 100644 index bf286fa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs deleted file mode 100644 index b241ab8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible.cs deleted file mode 100644 index 88e3342..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot.cs deleted file mode 100644 index b1a1493..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType.cs deleted file mode 100644 index 333e9d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 78ca4f0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen.cs deleted file mode 100644 index f497ef0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot.cs deleted file mode 100644 index fd58f92..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType.cs deleted file mode 100644 index 0646318..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs deleted file mode 100644 index e3de63d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible.cs deleted file mode 100644 index c283a65..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot.cs deleted file mode 100644 index 0b70b1f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType.cs deleted file mode 100644 index 7f4ee63..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 0236d3a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemFreeTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlight.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlight.cs index bdf80b0..33df6ea 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlight.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlight.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemHighlight : IJsonOnDes public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemHighlightColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActions.cs deleted file mode 100644 index 5446481..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate.cs deleted file mode 100644 index f713dbb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot.cs deleted file mode 100644 index e2d7996..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType.cs deleted file mode 100644 index e6e9a97..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem.cs deleted file mode 100644 index be37ba4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur.cs deleted file mode 100644 index 4819be2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot.cs deleted file mode 100644 index 2d903e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType.cs deleted file mode 100644 index f38a253..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem.cs deleted file mode 100644 index dab55f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter.cs deleted file mode 100644 index fa54d64..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot.cs deleted file mode 100644 index ad28245..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType.cs deleted file mode 100644 index da50111..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs deleted file mode 100644 index a250fa1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit.cs deleted file mode 100644 index 0d386fa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot.cs deleted file mode 100644 index 541493c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType.cs deleted file mode 100644 index 1fddc48..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem.cs deleted file mode 100644 index 527bdc6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus.cs deleted file mode 100644 index c77965c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot.cs deleted file mode 100644 index 6fc78ab..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType.cs deleted file mode 100644 index 6178098..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem.cs deleted file mode 100644 index 0bc5602..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown.cs deleted file mode 100644 index e2739e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot.cs deleted file mode 100644 index c81dbd2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType.cs deleted file mode 100644 index c3dc5f9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem.cs deleted file mode 100644 index e05b970..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp.cs deleted file mode 100644 index 318c018..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot.cs deleted file mode 100644 index cfa7f94..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType.cs deleted file mode 100644 index ea9da70..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem.cs deleted file mode 100644 index 33a2f79..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose.cs deleted file mode 100644 index cfdd902..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot.cs deleted file mode 100644 index 3c079cb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType.cs deleted file mode 100644 index f3abde5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem.cs deleted file mode 100644 index 9a398b8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible.cs deleted file mode 100644 index 6174fd6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot.cs deleted file mode 100644 index ff722e4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType.cs deleted file mode 100644 index 450a6e4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 54aafce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen.cs deleted file mode 100644 index 4e89f6d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot.cs deleted file mode 100644 index 64befaf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType.cs deleted file mode 100644 index c49eabb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem.cs deleted file mode 100644 index c72a848..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible.cs deleted file mode 100644 index 800b3f6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot.cs deleted file mode 100644 index dd24e36..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType.cs deleted file mode 100644 index 1352459..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 4e72d3f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemHighlightActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInk.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInk.cs index ec2826c..06c05c0 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInk.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInk.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemInk : IJsonOnDeseriali public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemInkActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemInkColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActions.cs deleted file mode 100644 index 47ee794..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate.cs deleted file mode 100644 index d7eaccb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsActivate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot.cs deleted file mode 100644 index 48bcab1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType.cs deleted file mode 100644 index 9ef30fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem.cs deleted file mode 100644 index d642518..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur.cs deleted file mode 100644 index a58d020..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot.cs deleted file mode 100644 index cf25ace..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType.cs deleted file mode 100644 index 5b53c56..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem.cs deleted file mode 100644 index 41adac5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter.cs deleted file mode 100644 index 07d8eb1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot.cs deleted file mode 100644 index f71eb9f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType.cs deleted file mode 100644 index 8005673..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 616820a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit.cs deleted file mode 100644 index b3d2990..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExit : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot.cs deleted file mode 100644 index 4c29a21..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType.cs deleted file mode 100644 index 412eba9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem.cs deleted file mode 100644 index 48b312c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus.cs deleted file mode 100644 index 280eef4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot.cs deleted file mode 100644 index 7411a5c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType.cs deleted file mode 100644 index aa8e527..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem.cs deleted file mode 100644 index e4a6107..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown.cs deleted file mode 100644 index 6ac2737..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDown : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot.cs deleted file mode 100644 index 7ac9328..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType.cs deleted file mode 100644 index ce75f86..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem.cs deleted file mode 100644 index 0db7aa4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp.cs deleted file mode 100644 index b2ec137..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot.cs deleted file mode 100644 index 48af4a1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType.cs deleted file mode 100644 index 7d43f1d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem.cs deleted file mode 100644 index 2599378..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose.cs deleted file mode 100644 index af7116a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageClose : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot.cs deleted file mode 100644 index a8dac8a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType.cs deleted file mode 100644 index 4b896de..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem.cs deleted file mode 100644 index ba04ef5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible.cs deleted file mode 100644 index e07024c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot.cs deleted file mode 100644 index bd97855..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType.cs deleted file mode 100644 index c71a563..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 049dedb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen.cs deleted file mode 100644 index c1d6d9d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpen : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot.cs deleted file mode 100644 index 2521d90..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType.cs deleted file mode 100644 index d5f5503..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem.cs deleted file mode 100644 index 2d1fd3a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible.cs deleted file mode 100644 index 85aa33b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot.cs deleted file mode 100644 index 963468d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType.cs deleted file mode 100644 index 1a83cb9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 6b63f2d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemInkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLine.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLine.cs index f7e70e3..d791245 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLine.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLine.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemLine : IJsonOnDeserial public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemLineActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemLineColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActions.cs deleted file mode 100644 index 2fa58fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate.cs deleted file mode 100644 index 9c2a2c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsActivate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot.cs deleted file mode 100644 index 84332e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType.cs deleted file mode 100644 index 6224e0e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem.cs deleted file mode 100644 index 7a66e7e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur.cs deleted file mode 100644 index 68a562d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot.cs deleted file mode 100644 index 6688eae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType.cs deleted file mode 100644 index 3ed3ac3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem.cs deleted file mode 100644 index 0a2e76a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter.cs deleted file mode 100644 index d4ea5d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot.cs deleted file mode 100644 index 9ffbbc8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType.cs deleted file mode 100644 index d67cab7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem.cs deleted file mode 100644 index cabb3e0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit.cs deleted file mode 100644 index e74e927..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot.cs deleted file mode 100644 index 6a8a0b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType.cs deleted file mode 100644 index fc4dfe3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem.cs deleted file mode 100644 index 086a723..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus.cs deleted file mode 100644 index 8338696..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot.cs deleted file mode 100644 index 454e5e7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType.cs deleted file mode 100644 index be8035a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem.cs deleted file mode 100644 index 8f5814a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown.cs deleted file mode 100644 index 5f4c704..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDown : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot.cs deleted file mode 100644 index a4b10ac..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType.cs deleted file mode 100644 index 72c0f11..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem.cs deleted file mode 100644 index c4f3712..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp.cs deleted file mode 100644 index bc6ec7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot.cs deleted file mode 100644 index abba529..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType.cs deleted file mode 100644 index ce65a90..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem.cs deleted file mode 100644 index 1098d4a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose.cs deleted file mode 100644 index 19dd5b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageClose : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot.cs deleted file mode 100644 index bb5ff24..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType.cs deleted file mode 100644 index eb9adda..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem.cs deleted file mode 100644 index 3706d48..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible.cs deleted file mode 100644 index efbd47b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot.cs deleted file mode 100644 index 4de9404..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType.cs deleted file mode 100644 index 6a21ff4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 4a62d82..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen.cs deleted file mode 100644 index 788797d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpen : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot.cs deleted file mode 100644 index 4e003c3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType.cs deleted file mode 100644 index 8cd6919..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem.cs deleted file mode 100644 index a72de14..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible.cs deleted file mode 100644 index 0e68136..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot.cs deleted file mode 100644 index 8bdf988..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType.cs deleted file mode 100644 index 7b100b6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 3cdb6ae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLink.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLink.cs index ec47a13..782e254 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLink.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLink.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemLink : IJsonOnDeserial public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("target")] public DocAnnotationsList200ResponseAnnotationsItemLinkTarget? Target { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActions.cs deleted file mode 100644 index 2753881..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate.cs deleted file mode 100644 index fe563f0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot.cs deleted file mode 100644 index f8591ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType.cs deleted file mode 100644 index 4658cd3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem.cs deleted file mode 100644 index 74e5202..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur.cs deleted file mode 100644 index 59fa2f1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot.cs deleted file mode 100644 index 1e25651..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType.cs deleted file mode 100644 index 7aac625..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem.cs deleted file mode 100644 index 96a740f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter.cs deleted file mode 100644 index 9f6c3f5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot.cs deleted file mode 100644 index 3389bfa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType.cs deleted file mode 100644 index 4ce9171..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem.cs deleted file mode 100644 index a6f284a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit.cs deleted file mode 100644 index cc7570e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot.cs deleted file mode 100644 index 1c6bde6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType.cs deleted file mode 100644 index a126ad2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem.cs deleted file mode 100644 index 7bc45c7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus.cs deleted file mode 100644 index 2fb7111..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot.cs deleted file mode 100644 index 2f4eda5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType.cs deleted file mode 100644 index 15a5aaa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem.cs deleted file mode 100644 index e123dea..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown.cs deleted file mode 100644 index dfd37f3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDown : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot.cs deleted file mode 100644 index 1f44256..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType.cs deleted file mode 100644 index 8dcb806..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem.cs deleted file mode 100644 index b49a29f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp.cs deleted file mode 100644 index 655fb06..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot.cs deleted file mode 100644 index 0b4fde6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType.cs deleted file mode 100644 index 7096ab6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem.cs deleted file mode 100644 index 9af8ba9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose.cs deleted file mode 100644 index 93851fb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageClose : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot.cs deleted file mode 100644 index d560eff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType.cs deleted file mode 100644 index f0fed5c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem.cs deleted file mode 100644 index c81e606..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible.cs deleted file mode 100644 index 3064cc8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot.cs deleted file mode 100644 index 535e23b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType.cs deleted file mode 100644 index ba633c2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 862c170..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen.cs deleted file mode 100644 index 016999f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpen : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot.cs deleted file mode 100644 index 62aaf9f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType.cs deleted file mode 100644 index f7b724e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem.cs deleted file mode 100644 index 255a8af..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible.cs deleted file mode 100644 index 9e72dba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot.cs deleted file mode 100644 index 7108ce2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType.cs deleted file mode 100644 index 4df8a6c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 51e3adc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto.cs index 4a4db88..2da5b44 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto.cs @@ -12,7 +12,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto : IJson new Dictionary(); [JsonPropertyName("destination")] - public required DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination Destination { get; set; } + public required PdfDestination Destination { get; set; } [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.cs deleted file mode 100644 index 2cfd23b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.cs +++ /dev/null @@ -1,864 +0,0 @@ -// ReSharper disable NullableWarningSuppressionIsUsed -// ReSharper disable InconsistentNaming - -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Nodes; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.JsonConverter) -)] -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination -{ - internal DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - string type, - object? value - ) - { - Kind = type; - Value = value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Xyz value - ) - { - Kind = "xyz"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Fit value - ) - { - Kind = "fit"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitH value - ) - { - Kind = "fitH"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitV value - ) - { - Kind = "fitV"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitR value - ) - { - Kind = "fitR"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitB value - ) - { - Kind = "fitB"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitBh value - ) - { - Kind = "fitBH"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitBv value - ) - { - Kind = "fitBV"; - Value = value.Value; - } - - /// - /// Discriminant value - /// - [JsonPropertyName("kind")] - public string Kind { get; internal set; } - - /// - /// Discriminated union value - /// - public object? Value { get; internal set; } - - /// - /// Returns true if is "xyz" - /// - public bool IsXyz => Kind == "xyz"; - - /// - /// Returns true if is "fit" - /// - public bool IsFit => Kind == "fit"; - - /// - /// Returns true if is "fitH" - /// - public bool IsFitH => Kind == "fitH"; - - /// - /// Returns true if is "fitV" - /// - public bool IsFitV => Kind == "fitV"; - - /// - /// Returns true if is "fitR" - /// - public bool IsFitR => Kind == "fitR"; - - /// - /// Returns true if is "fitB" - /// - public bool IsFitB => Kind == "fitB"; - - /// - /// Returns true if is "fitBH" - /// - public bool IsFitBh => Kind == "fitBH"; - - /// - /// Returns true if is "fitBV" - /// - public bool IsFitBv => Kind == "fitBV"; - - /// - /// Returns the value as a if is 'xyz', otherwise throws an exception. - /// - /// Thrown when is not 'xyz'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz AsXyz() => - IsXyz - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'xyz'" - ); - - /// - /// Returns the value as a if is 'fit', otherwise throws an exception. - /// - /// Thrown when is not 'fit'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit AsFit() => - IsFit - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fit'" - ); - - /// - /// Returns the value as a if is 'fitH', otherwise throws an exception. - /// - /// Thrown when is not 'fitH'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH AsFitH() => - IsFitH - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitH'" - ); - - /// - /// Returns the value as a if is 'fitV', otherwise throws an exception. - /// - /// Thrown when is not 'fitV'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV AsFitV() => - IsFitV - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitV'" - ); - - /// - /// Returns the value as a if is 'fitR', otherwise throws an exception. - /// - /// Thrown when is not 'fitR'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR AsFitR() => - IsFitR - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitR'" - ); - - /// - /// Returns the value as a if is 'fitB', otherwise throws an exception. - /// - /// Thrown when is not 'fitB'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB AsFitB() => - IsFitB - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitB'" - ); - - /// - /// Returns the value as a if is 'fitBH', otherwise throws an exception. - /// - /// Thrown when is not 'fitBH'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh AsFitBh() => - IsFitBh - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitBH'" - ); - - /// - /// Returns the value as a if is 'fitBV', otherwise throws an exception. - /// - /// Thrown when is not 'fitBV'. - public CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv AsFitBv() => - IsFitBv - ? (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv) - Value! - : throw new global::System.Exception( - "DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitBV'" - ); - - public T Match( - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz, - T - > onXyz, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit, - T - > onFit, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH, - T - > onFitH, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV, - T - > onFitV, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR, - T - > onFitR, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB, - T - > onFitB, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh, - T - > onFitBh, - Func< - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv, - T - > onFitBv, - Func onUnknown_ - ) - { - return Kind switch - { - "xyz" => onXyz(AsXyz()), - "fit" => onFit(AsFit()), - "fitH" => onFitH(AsFitH()), - "fitV" => onFitV(AsFitV()), - "fitR" => onFitR(AsFitR()), - "fitB" => onFitB(AsFitB()), - "fitBH" => onFitBh(AsFitBh()), - "fitBV" => onFitBv(AsFitBv()), - _ => onUnknown_(Kind, Value), - }; - } - - public void Visit( - Action onXyz, - Action onFit, - Action onFitH, - Action onFitV, - Action onFitR, - Action onFitB, - Action onFitBh, - Action onFitBv, - Action onUnknown_ - ) - { - switch (Kind) - { - case "xyz": - onXyz(AsXyz()); - break; - case "fit": - onFit(AsFit()); - break; - case "fitH": - onFitH(AsFitH()); - break; - case "fitV": - onFitV(AsFitV()); - break; - case "fitR": - onFitR(AsFitR()); - break; - case "fitB": - onFitB(AsFitB()); - break; - case "fitBH": - onFitBh(AsFitBh()); - break; - case "fitBV": - onFitBv(AsFitBv()); - break; - default: - onUnknown_(Kind, Value); - break; - } - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsXyz( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz? value - ) - { - if (Kind == "xyz") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFit( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit? value - ) - { - if (Kind == "fit") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitH( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH? value - ) - { - if (Kind == "fitH") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitV( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV? value - ) - { - if (Kind == "fitV") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitR( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR? value - ) - { - if (Kind == "fitR") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitB( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB? value - ) - { - if (Kind == "fitB") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitBh( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh? value - ) - { - if (Kind == "fitBH") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitBv( - out CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv? value - ) - { - if (Kind == "fitBV") - { - value = - (CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv) - Value!; - return true; - } - value = null; - return false; - } - - public override string ToString() => JsonUtils.Serialize(this); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Xyz value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Fit value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitH value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitV value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitR value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitB value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitBh value - ) => new(value); - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitBv value - ) => new(value); - - [Serializable] - internal sealed class JsonConverter - : JsonConverter - { - public override bool CanConvert(global::System.Type typeToConvert) => - typeof(DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination).IsAssignableFrom( - typeToConvert - ); - - public override DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination Read( - ref Utf8JsonReader reader, - global::System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var json = JsonElement.ParseValue(ref reader); - if (!json.TryGetProperty("kind", out var discriminatorElement)) - { - throw new JsonException("Missing discriminator property 'kind'"); - } - if (discriminatorElement.ValueKind != JsonValueKind.String) - { - if (discriminatorElement.ValueKind == JsonValueKind.Null) - { - throw new JsonException("Discriminator property 'kind' is null"); - } - - throw new JsonException( - $"Discriminator property 'kind' is not a string, instead is {discriminatorElement.ToString()}" - ); - } - - var discriminator = - discriminatorElement.GetString() - ?? throw new JsonException("Discriminator property 'kind' is null"); - - // Strip the discriminant property to prevent it from leaking into AdditionalProperties - var jsonObject = System.Text.Json.Nodes.JsonObject.Create(json); - jsonObject?.Remove("kind"); - var jsonWithoutDiscriminator = - jsonObject != null ? JsonSerializer.SerializeToElement(jsonObject, options) : json; - - var value = discriminator switch - { - "xyz" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz" - ), - "fit" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit" - ), - "fitH" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH" - ), - "fitV" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV" - ), - "fitR" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR" - ), - "fitB" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB" - ), - "fitBH" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh" - ), - "fitBV" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv" - ), - _ => json.Deserialize(options), - }; - return new DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - discriminator, - value - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination value, - JsonSerializerOptions options - ) - { - JsonNode json = - value.Kind switch - { - "xyz" => JsonSerializer.SerializeToNode(value.Value, options), - "fit" => JsonSerializer.SerializeToNode(value.Value, options), - "fitH" => JsonSerializer.SerializeToNode(value.Value, options), - "fitV" => JsonSerializer.SerializeToNode(value.Value, options), - "fitR" => JsonSerializer.SerializeToNode(value.Value, options), - "fitB" => JsonSerializer.SerializeToNode(value.Value, options), - "fitBH" => JsonSerializer.SerializeToNode(value.Value, options), - "fitBV" => JsonSerializer.SerializeToNode(value.Value, options), - _ => JsonSerializer.SerializeToNode(value.Value, options), - } ?? new JsonObject(); - json["kind"] = value.Kind; - json.WriteTo(writer, options); - } - - public override DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination ReadAsPropertyName( - ref Utf8JsonReader reader, - global::System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new JsonException("The JSON property name could not be read as a string."); - return new DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination( - stringValue, - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Kind); - } - } - - /// - /// Discriminated union type for xyz - /// - [Serializable] - public struct Xyz - { - public Xyz( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Xyz( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz value - ) => new(value); - } - - /// - /// Discriminated union type for fit - /// - [Serializable] - public struct Fit - { - public Fit( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.Fit( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit value - ) => new(value); - } - - /// - /// Discriminated union type for fitH - /// - [Serializable] - public struct FitH - { - public FitH( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitH( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH value - ) => new(value); - } - - /// - /// Discriminated union type for fitV - /// - [Serializable] - public struct FitV - { - public FitV( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitV( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV value - ) => new(value); - } - - /// - /// Discriminated union type for fitR - /// - [Serializable] - public struct FitR - { - public FitR( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitR( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR value - ) => new(value); - } - - /// - /// Discriminated union type for fitB - /// - [Serializable] - public struct FitB - { - public FitB( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitB( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB value - ) => new(value); - } - - /// - /// Discriminated union type for fitBH - /// - [Serializable] - public struct FitBh - { - public FitBh( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitBh( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh value - ) => new(value); - } - - /// - /// Discriminated union type for fitBV - /// - [Serializable] - public struct FitBv - { - public FitBv( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestination.FitBv( - CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv value - ) => new(value); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygon.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygon.cs index c54d0ec..2bf695c 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygon.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygon.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemPolygon : IJsonOnDeser public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemPolygonColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActions.cs deleted file mode 100644 index 7f42db7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate.cs deleted file mode 100644 index 81ac422..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot.cs deleted file mode 100644 index d303e6b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType.cs deleted file mode 100644 index 6947995..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem.cs deleted file mode 100644 index c0bb1fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur.cs deleted file mode 100644 index 1d893d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot.cs deleted file mode 100644 index 693b809..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType.cs deleted file mode 100644 index e7707ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem.cs deleted file mode 100644 index a5a7b29..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter.cs deleted file mode 100644 index c709d34..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot.cs deleted file mode 100644 index fe598c6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType.cs deleted file mode 100644 index 2de545b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 1f7bf99..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit.cs deleted file mode 100644 index 60c050b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot.cs deleted file mode 100644 index 036519e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType.cs deleted file mode 100644 index 650ef19..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem.cs deleted file mode 100644 index 5af4e0a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus.cs deleted file mode 100644 index d876b25..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot.cs deleted file mode 100644 index 5e557f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType.cs deleted file mode 100644 index b6ad989..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem.cs deleted file mode 100644 index 90ab1e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown.cs deleted file mode 100644 index e1ae440..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot.cs deleted file mode 100644 index ce851d7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType.cs deleted file mode 100644 index a4312ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem.cs deleted file mode 100644 index 73761f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp.cs deleted file mode 100644 index e9cc980..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot.cs deleted file mode 100644 index fe7fb70..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType.cs deleted file mode 100644 index b145d8b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem.cs deleted file mode 100644 index 502e836..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose.cs deleted file mode 100644 index 6c688eb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot.cs deleted file mode 100644 index 27eadd1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType.cs deleted file mode 100644 index c38d150..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem.cs deleted file mode 100644 index baa0a7b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible.cs deleted file mode 100644 index 1ad8540..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot.cs deleted file mode 100644 index 7fab7d3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType.cs deleted file mode 100644 index c257d22..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index a797706..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen.cs deleted file mode 100644 index 3659672..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot.cs deleted file mode 100644 index 5bc7a7f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType.cs deleted file mode 100644 index fcdc791..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem.cs deleted file mode 100644 index 9dd4234..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible.cs deleted file mode 100644 index 5d9ee99..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot.cs deleted file mode 100644 index 286325f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType.cs deleted file mode 100644 index 614141d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 2968b0b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolygonActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolyline.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolyline.cs index b1fbabb..ea17c45 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolyline.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolyline.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemPolyline : IJsonOnDese public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemPolylineColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActions.cs deleted file mode 100644 index f6918ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate.cs deleted file mode 100644 index 8eaec63..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot.cs deleted file mode 100644 index 12f456d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType.cs deleted file mode 100644 index d516d90..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem.cs deleted file mode 100644 index ecb0136..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur.cs deleted file mode 100644 index 89a68f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot.cs deleted file mode 100644 index 86b8b06..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType.cs deleted file mode 100644 index 8750cfd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem.cs deleted file mode 100644 index f7452f5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter.cs deleted file mode 100644 index 3fb03f0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot.cs deleted file mode 100644 index b8e4bf4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType.cs deleted file mode 100644 index a6802df..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 71e5d81..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit.cs deleted file mode 100644 index 067cbaa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot.cs deleted file mode 100644 index 2db738c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType.cs deleted file mode 100644 index c7a0412..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem.cs deleted file mode 100644 index caeb83c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus.cs deleted file mode 100644 index df95ad0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot.cs deleted file mode 100644 index 2c7efeb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType.cs deleted file mode 100644 index 364cb27..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem.cs deleted file mode 100644 index b479d1a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown.cs deleted file mode 100644 index 7927f49..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot.cs deleted file mode 100644 index 1f37d40..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType.cs deleted file mode 100644 index 47695e8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem.cs deleted file mode 100644 index debcd0d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp.cs deleted file mode 100644 index f9dc9d8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot.cs deleted file mode 100644 index ce51d11..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType.cs deleted file mode 100644 index 9dd33d0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem.cs deleted file mode 100644 index e16afe2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose.cs deleted file mode 100644 index 14ee473..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot.cs deleted file mode 100644 index 05a82d0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType.cs deleted file mode 100644 index 86a6a9f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem.cs deleted file mode 100644 index 3b2e89c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible.cs deleted file mode 100644 index 3be32dd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot.cs deleted file mode 100644 index 285a7dc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType.cs deleted file mode 100644 index f6308a3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index d02f7e9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen.cs deleted file mode 100644 index 118d788..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot.cs deleted file mode 100644 index d3bd9c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType.cs deleted file mode 100644 index 0e3b8bb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem.cs deleted file mode 100644 index a5d195b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible.cs deleted file mode 100644 index a04f4f9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot.cs deleted file mode 100644 index c4cf6fd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType.cs deleted file mode 100644 index 5aa5697..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 0ce6e59..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemPolylineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedact.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedact.cs index 77039b8..7352cbf 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedact.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedact.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemRedact : IJsonOnDeseri public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("quadPoints")] public IEnumerable QuadPoints { get; set; } = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActions.cs deleted file mode 100644 index 3e0b765..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate.cs deleted file mode 100644 index 9eb1707..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot.cs deleted file mode 100644 index 539e17b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType.cs deleted file mode 100644 index 04f71be..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem.cs deleted file mode 100644 index e561b21..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur.cs deleted file mode 100644 index 4ac4b1d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot.cs deleted file mode 100644 index 12c8653..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType.cs deleted file mode 100644 index 58a659b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem.cs deleted file mode 100644 index 6fde8ba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter.cs deleted file mode 100644 index c4738e4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot.cs deleted file mode 100644 index b3016e6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType.cs deleted file mode 100644 index 07b97e2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem.cs deleted file mode 100644 index caab999..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit.cs deleted file mode 100644 index 157a3c7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot.cs deleted file mode 100644 index 6fa413b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType.cs deleted file mode 100644 index e9b4629..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem.cs deleted file mode 100644 index 06650f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus.cs deleted file mode 100644 index 8faa152..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot.cs deleted file mode 100644 index 17de3a3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType.cs deleted file mode 100644 index da9ac01..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem.cs deleted file mode 100644 index 6760e82..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown.cs deleted file mode 100644 index 30a4a43..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot.cs deleted file mode 100644 index e828084..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType.cs deleted file mode 100644 index c1bc6e6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem.cs deleted file mode 100644 index ffcae4a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp.cs deleted file mode 100644 index 1a785a2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot.cs deleted file mode 100644 index a1234e8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType.cs deleted file mode 100644 index 13ff7d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem.cs deleted file mode 100644 index 1cf5874..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose.cs deleted file mode 100644 index 73f48a0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot.cs deleted file mode 100644 index e9fced2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType.cs deleted file mode 100644 index 0574e28..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem.cs deleted file mode 100644 index 2eb6594..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible.cs deleted file mode 100644 index 1245afb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot.cs deleted file mode 100644 index ed32152..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType.cs deleted file mode 100644 index 75cefe3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index e7b2c43..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen.cs deleted file mode 100644 index 6e8b055..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot.cs deleted file mode 100644 index 4a20337..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType.cs deleted file mode 100644 index 4f4a145..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem.cs deleted file mode 100644 index 88133d8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible.cs deleted file mode 100644 index 7955adc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot.cs deleted file mode 100644 index 3a43005..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType.cs deleted file mode 100644 index 8e47168..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 8299d08..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemRedactActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquare.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquare.cs index 884eefe..8dacff8 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquare.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquare.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemSquare : IJsonOnDeseri public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemSquareColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActions.cs deleted file mode 100644 index c152e46..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate.cs deleted file mode 100644 index d71ec84..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot.cs deleted file mode 100644 index cf19c7f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType.cs deleted file mode 100644 index babc71b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem.cs deleted file mode 100644 index 2776d74..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur.cs deleted file mode 100644 index fdb6f34..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot.cs deleted file mode 100644 index 1aecff2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType.cs deleted file mode 100644 index 9e21b6a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem.cs deleted file mode 100644 index 1905390..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter.cs deleted file mode 100644 index 52ef897..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot.cs deleted file mode 100644 index 718c3a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType.cs deleted file mode 100644 index 1a8653d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem.cs deleted file mode 100644 index a496191..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit.cs deleted file mode 100644 index 1449662..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot.cs deleted file mode 100644 index e7d8c12..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType.cs deleted file mode 100644 index d80e504..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem.cs deleted file mode 100644 index 9d48140..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus.cs deleted file mode 100644 index 63c4eea..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot.cs deleted file mode 100644 index fbc8a0a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType.cs deleted file mode 100644 index f6a0f38..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem.cs deleted file mode 100644 index 10b904b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown.cs deleted file mode 100644 index 98875fb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot.cs deleted file mode 100644 index 9bcd07a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType.cs deleted file mode 100644 index 689497d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem.cs deleted file mode 100644 index 8517735..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp.cs deleted file mode 100644 index 01f696a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot.cs deleted file mode 100644 index 723a76b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType.cs deleted file mode 100644 index b2b067e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem.cs deleted file mode 100644 index 6fec11f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose.cs deleted file mode 100644 index 59a5bc7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot.cs deleted file mode 100644 index 36174ac..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType.cs deleted file mode 100644 index 7d5c2ba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem.cs deleted file mode 100644 index f8beaae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible.cs deleted file mode 100644 index 3204f82..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot.cs deleted file mode 100644 index 2334b6a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType.cs deleted file mode 100644 index dd29bbe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 0a102db..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen.cs deleted file mode 100644 index f25222f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot.cs deleted file mode 100644 index 191ae90..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType.cs deleted file mode 100644 index d2d7469..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem.cs deleted file mode 100644 index 3ace034..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible.cs deleted file mode 100644 index 60fa523..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot.cs deleted file mode 100644 index a41695e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType.cs deleted file mode 100644 index 870a937..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 7a6bc15..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquareActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquiggly.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquiggly.cs index 4776064..a8908b7 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquiggly.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquiggly.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemSquiggly : IJsonOnDese public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemSquigglyColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActions.cs deleted file mode 100644 index c6c66a8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate.cs deleted file mode 100644 index 34ab15b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot.cs deleted file mode 100644 index 362863d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType.cs deleted file mode 100644 index 92b9008..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem.cs deleted file mode 100644 index 4c51b1c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur.cs deleted file mode 100644 index 2a744aa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot.cs deleted file mode 100644 index e5bd3e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType.cs deleted file mode 100644 index 96e0ed0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem.cs deleted file mode 100644 index a5d0469..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter.cs deleted file mode 100644 index 12366c7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot.cs deleted file mode 100644 index 8acb4de..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType.cs deleted file mode 100644 index 3d6afe5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 842c13a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit.cs deleted file mode 100644 index c81e9c7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot.cs deleted file mode 100644 index 803bf33..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType.cs deleted file mode 100644 index d5b189f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs deleted file mode 100644 index 07080be..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus.cs deleted file mode 100644 index 10d2aaa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot.cs deleted file mode 100644 index c750140..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType.cs deleted file mode 100644 index ae4f2fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem.cs deleted file mode 100644 index 49fa905..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown.cs deleted file mode 100644 index 3aba28e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot.cs deleted file mode 100644 index 1418fde..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType.cs deleted file mode 100644 index b5b2b72..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs deleted file mode 100644 index 337a935..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp.cs deleted file mode 100644 index ffb56f9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot.cs deleted file mode 100644 index 3262540..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType.cs deleted file mode 100644 index d7193f8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs deleted file mode 100644 index 9931088..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose.cs deleted file mode 100644 index 9028874..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot.cs deleted file mode 100644 index 3438176..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType.cs deleted file mode 100644 index 7d7ea7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs deleted file mode 100644 index e7256c3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible.cs deleted file mode 100644 index 14f1299..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot.cs deleted file mode 100644 index 35cae28..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType.cs deleted file mode 100644 index 2678f14..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 9081577..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen.cs deleted file mode 100644 index 1c6f823..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot.cs deleted file mode 100644 index ebd7345..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType.cs deleted file mode 100644 index a63d84b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs deleted file mode 100644 index aaea7ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible.cs deleted file mode 100644 index 85566ca..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot.cs deleted file mode 100644 index 8c2f4d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType.cs deleted file mode 100644 index 3fdf2af..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 28599ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemSquigglyActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStamp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStamp.cs index e783935..7fa1ea1 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStamp.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStamp.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemStamp : IJsonOnDeseria public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemStampActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("name")] public string? Name { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActions.cs deleted file mode 100644 index 6a7017a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate.cs deleted file mode 100644 index 4cd5957..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsActivate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot.cs deleted file mode 100644 index 576eac4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType.cs deleted file mode 100644 index 1f4a03f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem.cs deleted file mode 100644 index 63e6e57..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur.cs deleted file mode 100644 index 9f5dbdf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot.cs deleted file mode 100644 index b38b259..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType.cs deleted file mode 100644 index 48fefbe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem.cs deleted file mode 100644 index fd8a813..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter.cs deleted file mode 100644 index 38f824a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot.cs deleted file mode 100644 index 16293c0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType.cs deleted file mode 100644 index 5dc8b37..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 6280cd2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit.cs deleted file mode 100644 index 4588184..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot.cs deleted file mode 100644 index 1140e2f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType.cs deleted file mode 100644 index 1d3cc09..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem.cs deleted file mode 100644 index 34dabbb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus.cs deleted file mode 100644 index ad44a6e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot.cs deleted file mode 100644 index 48600e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType.cs deleted file mode 100644 index 5201fc3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem.cs deleted file mode 100644 index ea23000..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown.cs deleted file mode 100644 index d1d80e1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot.cs deleted file mode 100644 index 1137612..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType.cs deleted file mode 100644 index 233b864..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem.cs deleted file mode 100644 index d3ea1a5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp.cs deleted file mode 100644 index 6cb13ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot.cs deleted file mode 100644 index d3bff84..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType.cs deleted file mode 100644 index 2e3ac17..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem.cs deleted file mode 100644 index 429e3c6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose.cs deleted file mode 100644 index 98d7a85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot.cs deleted file mode 100644 index ebd54fa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType.cs deleted file mode 100644 index 3bbcfe7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem.cs deleted file mode 100644 index c180be0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible.cs deleted file mode 100644 index 5180907..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot.cs deleted file mode 100644 index 205fe95..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType.cs deleted file mode 100644 index aad52e1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index e7a9a2f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen.cs deleted file mode 100644 index 18e5fd2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpen : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot.cs deleted file mode 100644 index e79f352..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType.cs deleted file mode 100644 index fdd94a7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem.cs deleted file mode 100644 index 1e700ac..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible.cs deleted file mode 100644 index 34fa72d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot.cs deleted file mode 100644 index 8d6c358..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType.cs deleted file mode 100644 index 8ee9208..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem.cs deleted file mode 100644 index b3736d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStampActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeout.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeout.cs index 357144b..a3a7abd 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeout.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeout.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemStrikeout : IJsonOnDes public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions.cs deleted file mode 100644 index f1dd0df..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate.cs deleted file mode 100644 index 81e738a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot.cs deleted file mode 100644 index d9ac6c5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType.cs deleted file mode 100644 index f0d5b88..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem.cs deleted file mode 100644 index 7e10c9e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur.cs deleted file mode 100644 index f5b7eba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot.cs deleted file mode 100644 index 0730d0c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType.cs deleted file mode 100644 index ca33512..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem.cs deleted file mode 100644 index 8a71e26..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter.cs deleted file mode 100644 index 37171af..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot.cs deleted file mode 100644 index 9909a92..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType.cs deleted file mode 100644 index f469694..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs deleted file mode 100644 index cc7c026..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit.cs deleted file mode 100644 index c0ad59d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot.cs deleted file mode 100644 index 10b65d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType.cs deleted file mode 100644 index 92927d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs deleted file mode 100644 index bf6db40..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus.cs deleted file mode 100644 index 74df09d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot.cs deleted file mode 100644 index aa190bf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType.cs deleted file mode 100644 index 7db2957..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem.cs deleted file mode 100644 index affb192..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown.cs deleted file mode 100644 index 7d7582a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot.cs deleted file mode 100644 index e9d12b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType.cs deleted file mode 100644 index 7867d7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs deleted file mode 100644 index dfff73d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp.cs deleted file mode 100644 index 665a003..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot.cs deleted file mode 100644 index 2e3db22..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType.cs deleted file mode 100644 index 8b76af6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs deleted file mode 100644 index 05c08f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose.cs deleted file mode 100644 index 7c5e0a7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot.cs deleted file mode 100644 index b1f98b7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType.cs deleted file mode 100644 index 4d52b99..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs deleted file mode 100644 index a096061..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible.cs deleted file mode 100644 index c8ac3e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs deleted file mode 100644 index 69d7a7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs deleted file mode 100644 index 9e4908a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 3cdb0e2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen.cs deleted file mode 100644 index 2048b1b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot.cs deleted file mode 100644 index 0d6eb0f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType.cs deleted file mode 100644 index c47bacb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs deleted file mode 100644 index 9be6615..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible.cs deleted file mode 100644 index a10eeae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot.cs deleted file mode 100644 index 6b5b50e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType.cs deleted file mode 100644 index 5af5a38..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs deleted file mode 100644 index b2a8f35..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemText.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemText.cs index 15ac075..01d460b 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemText.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemText.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemText : IJsonOnDeserial public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemTextActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemTextColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActions.cs deleted file mode 100644 index b0e6d72..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate.cs deleted file mode 100644 index 34a4322..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsActivate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot.cs deleted file mode 100644 index 0ba59a6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType.cs deleted file mode 100644 index 6ee8063..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem.cs deleted file mode 100644 index b09bbe3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur.cs deleted file mode 100644 index 1c8c5f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot.cs deleted file mode 100644 index f7ac83f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType.cs deleted file mode 100644 index 7437825..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem.cs deleted file mode 100644 index dced2b3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter.cs deleted file mode 100644 index 8fdcfc8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot.cs deleted file mode 100644 index 1060289..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType.cs deleted file mode 100644 index e268d49..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 14bee62..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit.cs deleted file mode 100644 index cfac9fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot.cs deleted file mode 100644 index c995850..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType.cs deleted file mode 100644 index d21683e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem.cs deleted file mode 100644 index be4df87..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus.cs deleted file mode 100644 index cbd84a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot.cs deleted file mode 100644 index 4afc3c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType.cs deleted file mode 100644 index 0b8f620..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem.cs deleted file mode 100644 index f07b321..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown.cs deleted file mode 100644 index b5fe13c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDown : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot.cs deleted file mode 100644 index 641c1d9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType.cs deleted file mode 100644 index 2e89946..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem.cs deleted file mode 100644 index 89944d5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp.cs deleted file mode 100644 index 946633c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot.cs deleted file mode 100644 index 7f3d9b6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType.cs deleted file mode 100644 index 93ddc83..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem.cs deleted file mode 100644 index 5c79aeb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose.cs deleted file mode 100644 index 20b69bf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageClose : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot.cs deleted file mode 100644 index eadda2e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType.cs deleted file mode 100644 index 914f96d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem.cs deleted file mode 100644 index 6dc01a6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible.cs deleted file mode 100644 index b07347b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot.cs deleted file mode 100644 index 2877765..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType.cs deleted file mode 100644 index d0f54e9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index ec03281..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen.cs deleted file mode 100644 index 7fab248..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpen : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot.cs deleted file mode 100644 index 9882ce7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType.cs deleted file mode 100644 index 70a4c03..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem.cs deleted file mode 100644 index ae72c05..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible.cs deleted file mode 100644 index 5fa515c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot.cs deleted file mode 100644 index 67e8122..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType.cs deleted file mode 100644 index cdd5d7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 72c47b6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderline.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderline.cs index 5eee45f..0f91f72 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderline.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderline.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemUnderline : IJsonOnDes public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsList200ResponseAnnotationsItemUnderlineColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActions.cs deleted file mode 100644 index 893a29b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate.cs deleted file mode 100644 index 623fd53..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot.cs deleted file mode 100644 index 7d5fe01..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType.cs deleted file mode 100644 index 48539f3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem.cs deleted file mode 100644 index b3f7f3c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur.cs deleted file mode 100644 index ff77810..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot.cs deleted file mode 100644 index 1148176..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType.cs deleted file mode 100644 index 453327f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem.cs deleted file mode 100644 index a7c045b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter.cs deleted file mode 100644 index 6b5782c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot.cs deleted file mode 100644 index 544f14e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType.cs deleted file mode 100644 index bbe7fcb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 394fb95..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit.cs deleted file mode 100644 index 162af45..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot.cs deleted file mode 100644 index 341a496..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType.cs deleted file mode 100644 index 84a210d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs deleted file mode 100644 index df787cd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus.cs deleted file mode 100644 index 9bbe73a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot.cs deleted file mode 100644 index 50e021b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType.cs deleted file mode 100644 index 5ab5b85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem.cs deleted file mode 100644 index c18fa6c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown.cs deleted file mode 100644 index e112f14..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot.cs deleted file mode 100644 index 42cfce5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType.cs deleted file mode 100644 index 56358cf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs deleted file mode 100644 index 12db207..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp.cs deleted file mode 100644 index adad8fb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot.cs deleted file mode 100644 index 7b09710..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType.cs deleted file mode 100644 index ff8f778..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs deleted file mode 100644 index 02fb3ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose.cs deleted file mode 100644 index 33e2700..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot.cs deleted file mode 100644 index 7113584..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType.cs deleted file mode 100644 index e84ef3e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs deleted file mode 100644 index 0f464c0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible.cs deleted file mode 100644 index 885bc5d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot.cs deleted file mode 100644 index 954ca23..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType.cs deleted file mode 100644 index c23aca4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 89e50fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen.cs deleted file mode 100644 index e630652..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot.cs deleted file mode 100644 index c08cb73..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType.cs deleted file mode 100644 index 6c6913c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs deleted file mode 100644 index a3a689c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible.cs deleted file mode 100644 index a017271..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot.cs deleted file mode 100644 index dbbb446..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType.cs deleted file mode 100644 index cd7e494..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs deleted file mode 100644 index e8249f3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnderlineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupported.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupported.cs index a924185..2a59514 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupported.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupported.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemUnsupported : IJsonOnD public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("rawSubtypeCode")] public required int RawSubtypeCode { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions.cs deleted file mode 100644 index 0b1dcc5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate.cs deleted file mode 100644 index 45ca1f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot.cs deleted file mode 100644 index 145937f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType.cs deleted file mode 100644 index 9c93d47..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem.cs deleted file mode 100644 index f5a1d56..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur.cs deleted file mode 100644 index 18b5598..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot.cs deleted file mode 100644 index 0378fea..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType.cs deleted file mode 100644 index ca3a1b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem.cs deleted file mode 100644 index 792966f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter.cs deleted file mode 100644 index 7f0d114..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot.cs deleted file mode 100644 index f7e5fe4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType.cs deleted file mode 100644 index 72ed3b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 70fba17..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit.cs deleted file mode 100644 index 5a2a8c3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot.cs deleted file mode 100644 index ebbe10d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType.cs deleted file mode 100644 index 46786d2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs deleted file mode 100644 index d98c8d0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus.cs deleted file mode 100644 index 6168741..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot.cs deleted file mode 100644 index a24be1f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType.cs deleted file mode 100644 index 6ae76bd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem.cs deleted file mode 100644 index 58e7fdf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown.cs deleted file mode 100644 index b833d76..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot.cs deleted file mode 100644 index 30ce3ab..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType.cs deleted file mode 100644 index 4a4605a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs deleted file mode 100644 index 31b41a3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp.cs deleted file mode 100644 index 1fb34a8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot.cs deleted file mode 100644 index 88dc72c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType.cs deleted file mode 100644 index cb4923d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs deleted file mode 100644 index 8dc2191..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose.cs deleted file mode 100644 index d5483e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot.cs deleted file mode 100644 index 9880618..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType.cs deleted file mode 100644 index b49233c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs deleted file mode 100644 index 7f83c51..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible.cs deleted file mode 100644 index b1018c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs deleted file mode 100644 index 9854794..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs deleted file mode 100644 index 76c3cdd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 28f73e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen.cs deleted file mode 100644 index cb50cf7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot.cs deleted file mode 100644 index cf34b91..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType.cs deleted file mode 100644 index 1a1c75f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs deleted file mode 100644 index e1dd576..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible.cs deleted file mode 100644 index cae628b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot.cs deleted file mode 100644 index 01734cc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType.cs deleted file mode 100644 index 2c82f71..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 1e68cc5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidget.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidget.cs index 6e2bdd0..8d1a050 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidget.cs +++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidget.cs @@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemWidget : IJsonOnDeseri public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public DocAnnotationsList200ResponseAnnotationsItemWidgetColor? Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActions.cs deleted file mode 100644 index bdcfd22..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActions.cs +++ /dev/null @@ -1,58 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate.cs deleted file mode 100644 index 0095e96..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot.cs deleted file mode 100644 index d5f7792..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType.cs deleted file mode 100644 index d7734fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem.cs deleted file mode 100644 index 2c25a3c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur.cs deleted file mode 100644 index 3150e66..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlur : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot.cs deleted file mode 100644 index dd6ab1e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType.cs deleted file mode 100644 index e037026..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem.cs deleted file mode 100644 index 05e7bf5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter.cs deleted file mode 100644 index ef3c28a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot.cs deleted file mode 100644 index d078aff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType.cs deleted file mode 100644 index 012e534..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 53fcc9c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit.cs deleted file mode 100644 index 1f3caf1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot.cs deleted file mode 100644 index baa8f13..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType.cs deleted file mode 100644 index af6969c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem.cs deleted file mode 100644 index a4f97f8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus.cs deleted file mode 100644 index 5ce80f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocus : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot.cs deleted file mode 100644 index 8320282..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType.cs deleted file mode 100644 index 6429dfa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem.cs deleted file mode 100644 index 907d40e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem.cs +++ /dev/null @@ -1,142 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown.cs deleted file mode 100644 index 5b37652..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot.cs deleted file mode 100644 index eda98a0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType.cs deleted file mode 100644 index 8ed36d8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem.cs deleted file mode 100644 index b6a41bb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp.cs deleted file mode 100644 index 2df1ff5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUp : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot.cs deleted file mode 100644 index 57960b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType.cs deleted file mode 100644 index f9498fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem.cs deleted file mode 100644 index a0b128c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose.cs deleted file mode 100644 index 6c5d535..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot.cs deleted file mode 100644 index edcda53..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType.cs deleted file mode 100644 index 9492396..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem.cs deleted file mode 100644 index 9edc6a6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible.cs deleted file mode 100644 index ffd1004..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot.cs deleted file mode 100644 index cfb17f3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType.cs deleted file mode 100644 index afc868f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index c7832c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen.cs deleted file mode 100644 index db943a7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot.cs deleted file mode 100644 index 1ddf9ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType.cs deleted file mode 100644 index c753d20..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem.cs deleted file mode 100644 index 1f919c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible.cs deleted file mode 100644 index 63e6182..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot.cs deleted file mode 100644 index 73a3301..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType.cs deleted file mode 100644 index fb67776..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs deleted file mode 100644 index afd46bb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem.DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsList200ResponseAnnotationsItemWidgetActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret.cs index ce8cfc9..47dba16 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret : IJ public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActions.cs deleted file mode 100644 index 2141fcd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivate.cs deleted file mode 100644 index 40b2004..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRoot.cs deleted file mode 100644 index de9177d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType.cs deleted file mode 100644 index 1d734ed..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem.cs deleted file mode 100644 index 8db0b83..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlur.cs deleted file mode 100644 index b14c405..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRoot.cs deleted file mode 100644 index efe02e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType.cs deleted file mode 100644 index 684df0b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem.cs deleted file mode 100644 index fe99a61..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnter.cs deleted file mode 100644 index f098a25..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRoot.cs deleted file mode 100644 index 5ff62f2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType.cs deleted file mode 100644 index 6ebadcd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 999cd28..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExit.cs deleted file mode 100644 index 0baa8a7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRoot.cs deleted file mode 100644 index e2db8b9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType.cs deleted file mode 100644 index 3788a8b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem.cs deleted file mode 100644 index 1f027cc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocus.cs deleted file mode 100644 index 8efe05d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRoot.cs deleted file mode 100644 index fb77b97..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType.cs deleted file mode 100644 index b814d14..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem.cs deleted file mode 100644 index 4adc403..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDown.cs deleted file mode 100644 index c954841..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRoot.cs deleted file mode 100644 index 7febfb9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType.cs deleted file mode 100644 index 8bb94a1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem.cs deleted file mode 100644 index d99c75b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUp.cs deleted file mode 100644 index 51bab55..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRoot.cs deleted file mode 100644 index a29d18b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType.cs deleted file mode 100644 index 8438fac..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem.cs deleted file mode 100644 index a56229f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageClose.cs deleted file mode 100644 index 369845d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRoot.cs deleted file mode 100644 index 787a20d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType.cs deleted file mode 100644 index 23ed3ae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem.cs deleted file mode 100644 index 9a77e12..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisible.cs deleted file mode 100644 index 7953d7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRoot.cs deleted file mode 100644 index 3412a42..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType.cs deleted file mode 100644 index 8426b3e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 8fa5947..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpen.cs deleted file mode 100644 index c86a482..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRoot.cs deleted file mode 100644 index 57c6c11..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType.cs deleted file mode 100644 index a5f1d9e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem.cs deleted file mode 100644 index f5eb978..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisible.cs deleted file mode 100644 index f897b8b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRoot.cs deleted file mode 100644 index 69c61c7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType.cs deleted file mode 100644 index a66573e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 28987d5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle.cs index e8a108f..abfd13c 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle : I public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActions.cs deleted file mode 100644 index de684bd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivate.cs deleted file mode 100644 index 7a9c69e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRoot.cs deleted file mode 100644 index f6050e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType.cs deleted file mode 100644 index 7084a96..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem.cs deleted file mode 100644 index 0b496c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlur.cs deleted file mode 100644 index da9d14f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRoot.cs deleted file mode 100644 index 76c6c0c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType.cs deleted file mode 100644 index 790ec48..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem.cs deleted file mode 100644 index 1139a31..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnter.cs deleted file mode 100644 index 6e4fb89..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRoot.cs deleted file mode 100644 index b743819..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType.cs deleted file mode 100644 index da4995f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem.cs deleted file mode 100644 index b80b160..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExit.cs deleted file mode 100644 index 6bcfd7b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRoot.cs deleted file mode 100644 index 7129257..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType.cs deleted file mode 100644 index 0e304b3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem.cs deleted file mode 100644 index 38a0f81..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocus.cs deleted file mode 100644 index af3032c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRoot.cs deleted file mode 100644 index 6d80964..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType.cs deleted file mode 100644 index f2463bc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem.cs deleted file mode 100644 index 8424caf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDown.cs deleted file mode 100644 index 0f6ac9d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRoot.cs deleted file mode 100644 index e3938c3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType.cs deleted file mode 100644 index 4befe75..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem.cs deleted file mode 100644 index b0fdcfc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUp.cs deleted file mode 100644 index 3326195..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRoot.cs deleted file mode 100644 index 987c58a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType.cs deleted file mode 100644 index ad8433a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem.cs deleted file mode 100644 index bc9c7f7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageClose.cs deleted file mode 100644 index e082392..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRoot.cs deleted file mode 100644 index 8426aad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType.cs deleted file mode 100644 index a44e1f6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem.cs deleted file mode 100644 index 2cafddd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisible.cs deleted file mode 100644 index 8e394cd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRoot.cs deleted file mode 100644 index 705fd77..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType.cs deleted file mode 100644 index 2619bf7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index c9c282c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpen.cs deleted file mode 100644 index 52760a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRoot.cs deleted file mode 100644 index 74747b4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType.cs deleted file mode 100644 index 4fcd103..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem.cs deleted file mode 100644 index aca60af..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisible.cs deleted file mode 100644 index 1dd0127..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRoot.cs deleted file mode 100644 index 49271b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType.cs deleted file mode 100644 index cab564d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 9ba35c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment.cs index 347d33b..8699750 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment.cs @@ -70,7 +70,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttach public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActions.cs deleted file mode 100644 index cd22a00..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivate.cs deleted file mode 100644 index 18e500b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRoot.cs deleted file mode 100644 index 0774987..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType.cs deleted file mode 100644 index 01cfc50..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs deleted file mode 100644 index 50e6452..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlur.cs deleted file mode 100644 index bec7abb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRoot.cs deleted file mode 100644 index 3a0ee77..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType.cs deleted file mode 100644 index 579b267..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs deleted file mode 100644 index 4ced211..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnter.cs deleted file mode 100644 index de86746..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs deleted file mode 100644 index 4bfeed6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs deleted file mode 100644 index 33849e9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs deleted file mode 100644 index bd8bf4a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExit.cs deleted file mode 100644 index badf288..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRoot.cs deleted file mode 100644 index 9b15e28..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType.cs deleted file mode 100644 index 2896500..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs deleted file mode 100644 index 8d85533..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocus.cs deleted file mode 100644 index b178d31..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRoot.cs deleted file mode 100644 index c81932e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType.cs deleted file mode 100644 index 8dac7dc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs deleted file mode 100644 index e90d723..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDown.cs deleted file mode 100644 index 05388fd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRoot.cs deleted file mode 100644 index 34aa461..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType.cs deleted file mode 100644 index 41977c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs deleted file mode 100644 index ae2d874..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUp.cs deleted file mode 100644 index fb6730f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRoot.cs deleted file mode 100644 index 6c1a602..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType.cs deleted file mode 100644 index 7a17966..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs deleted file mode 100644 index 04bacf5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageClose.cs deleted file mode 100644 index e0566ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRoot.cs deleted file mode 100644 index 0142bce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType.cs deleted file mode 100644 index 95403b8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs deleted file mode 100644 index 03ce0f9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisible.cs deleted file mode 100644 index 1594fd3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs deleted file mode 100644 index b705d96..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs deleted file mode 100644 index bc8a93b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index f34571e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpen.cs deleted file mode 100644 index af0ee49..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRoot.cs deleted file mode 100644 index 19833ac..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType.cs deleted file mode 100644 index 1c07973..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs deleted file mode 100644 index 3d91978..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisible.cs deleted file mode 100644 index cefd9ee..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs deleted file mode 100644 index 9c064b3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs deleted file mode 100644 index 3d8d4dc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 1cbd900..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText.cs index 04856ff..b7f6ab7 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText : public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("intent")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent Intent { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActions.cs deleted file mode 100644 index 78fa326..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivate.cs deleted file mode 100644 index 2d4da4e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRoot.cs deleted file mode 100644 index 70703c6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType.cs deleted file mode 100644 index ada2e94..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem.cs deleted file mode 100644 index 65d8d05..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlur.cs deleted file mode 100644 index 3125e97..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRoot.cs deleted file mode 100644 index 2197d07..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType.cs deleted file mode 100644 index b830b10..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem.cs deleted file mode 100644 index 1d97b85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnter.cs deleted file mode 100644 index f712854..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRoot.cs deleted file mode 100644 index 1f16a05..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType.cs deleted file mode 100644 index f07188f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 995b292..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExit.cs deleted file mode 100644 index 8c4f5c7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRoot.cs deleted file mode 100644 index b527ac5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType.cs deleted file mode 100644 index 828e689..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs deleted file mode 100644 index 6f1c6e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocus.cs deleted file mode 100644 index cd68e98..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRoot.cs deleted file mode 100644 index 30a5199..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType.cs deleted file mode 100644 index 66299ad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem.cs deleted file mode 100644 index 6f49838..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDown.cs deleted file mode 100644 index 34353cc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRoot.cs deleted file mode 100644 index d420de2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType.cs deleted file mode 100644 index 603a1d9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs deleted file mode 100644 index 336410b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUp.cs deleted file mode 100644 index 156fb12..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRoot.cs deleted file mode 100644 index ed9f485..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType.cs deleted file mode 100644 index c959247..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs deleted file mode 100644 index de47b75..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageClose.cs deleted file mode 100644 index 7320e1d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRoot.cs deleted file mode 100644 index 9047da3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType.cs deleted file mode 100644 index 052e6ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs deleted file mode 100644 index 4b6489c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisible.cs deleted file mode 100644 index 0b5e5df..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRoot.cs deleted file mode 100644 index 81ce946..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType.cs deleted file mode 100644 index 7b95cd1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 713cab5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpen.cs deleted file mode 100644 index 4a06ac8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRoot.cs deleted file mode 100644 index e30bfbe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType.cs deleted file mode 100644 index 4faa846..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs deleted file mode 100644 index dfe731d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisible.cs deleted file mode 100644 index 7fd07f6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRoot.cs deleted file mode 100644 index 2af54d6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType.cs deleted file mode 100644 index 295a813..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs deleted file mode 100644 index b241511..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight.cs index a4bef65..9ca7033 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight.cs @@ -70,7 +70,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActions.cs deleted file mode 100644 index c7bbeec..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivate.cs deleted file mode 100644 index d9cf574..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRoot.cs deleted file mode 100644 index 768ddac..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType.cs deleted file mode 100644 index 6c0a760..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem.cs deleted file mode 100644 index fac159e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlur.cs deleted file mode 100644 index 0b38cee..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRoot.cs deleted file mode 100644 index 3fe2990..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType.cs deleted file mode 100644 index 7205582..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem.cs deleted file mode 100644 index b950375..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnter.cs deleted file mode 100644 index 95649f5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRoot.cs deleted file mode 100644 index d573127..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType.cs deleted file mode 100644 index 28805d6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs deleted file mode 100644 index c57e3ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExit.cs deleted file mode 100644 index 4f8c1f6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRoot.cs deleted file mode 100644 index cb40094..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType.cs deleted file mode 100644 index 42f3612..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem.cs deleted file mode 100644 index 13b99e7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocus.cs deleted file mode 100644 index f7fff50..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRoot.cs deleted file mode 100644 index d559b53..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType.cs deleted file mode 100644 index d3231b9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem.cs deleted file mode 100644 index eac06d5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDown.cs deleted file mode 100644 index 10b6a25..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRoot.cs deleted file mode 100644 index 012315d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType.cs deleted file mode 100644 index 3b42d8d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem.cs deleted file mode 100644 index 160e836..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUp.cs deleted file mode 100644 index 3f5685e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRoot.cs deleted file mode 100644 index b363495..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType.cs deleted file mode 100644 index 5353b1c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem.cs deleted file mode 100644 index 834ad4e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageClose.cs deleted file mode 100644 index 7311203..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRoot.cs deleted file mode 100644 index d9cc123..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType.cs deleted file mode 100644 index cfa77f5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem.cs deleted file mode 100644 index d5eb069..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisible.cs deleted file mode 100644 index c306ab2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRoot.cs deleted file mode 100644 index 13d1efd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType.cs deleted file mode 100644 index 6d2ad0e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index f24edbc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpen.cs deleted file mode 100644 index 6ad8bb9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRoot.cs deleted file mode 100644 index 419016f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType.cs deleted file mode 100644 index 44a6f92..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem.cs deleted file mode 100644 index 4a0e789..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisible.cs deleted file mode 100644 index 0732a4c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRoot.cs deleted file mode 100644 index 6712665..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType.cs deleted file mode 100644 index 63418b8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 1719ada..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk.cs index 03bc9e3..62ea0ca 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk : IJso public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActions.cs deleted file mode 100644 index 4c2dc48..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivate.cs deleted file mode 100644 index ecbe9e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRoot.cs deleted file mode 100644 index fee88be..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType.cs deleted file mode 100644 index 5f7d821..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem.cs deleted file mode 100644 index d0acae0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlur.cs deleted file mode 100644 index 9594a94..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRoot.cs deleted file mode 100644 index 87491bc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType.cs deleted file mode 100644 index 8889a8e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem.cs deleted file mode 100644 index c7efced..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnter.cs deleted file mode 100644 index 14a7e0c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRoot.cs deleted file mode 100644 index 1c02f3c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType.cs deleted file mode 100644 index 5a2ffbe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 98d4760..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExit.cs deleted file mode 100644 index 8c6dd19..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRoot.cs deleted file mode 100644 index 1f33f7d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType.cs deleted file mode 100644 index ecc9b4a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem.cs deleted file mode 100644 index 2516eab..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocus.cs deleted file mode 100644 index 7b8ed79..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRoot.cs deleted file mode 100644 index e4cacc7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType.cs deleted file mode 100644 index fecb0f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem.cs deleted file mode 100644 index 354106f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDown.cs deleted file mode 100644 index efe3bf3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRoot.cs deleted file mode 100644 index 9022c74..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType.cs deleted file mode 100644 index 9030bbc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem.cs deleted file mode 100644 index 7358a63..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUp.cs deleted file mode 100644 index 2a57869..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRoot.cs deleted file mode 100644 index 464a67b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType.cs deleted file mode 100644 index 2f41e76..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem.cs deleted file mode 100644 index c195c4d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageClose.cs deleted file mode 100644 index 7144d03..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRoot.cs deleted file mode 100644 index bcff25f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType.cs deleted file mode 100644 index d7a8bf5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem.cs deleted file mode 100644 index 1989a76..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisible.cs deleted file mode 100644 index 388d75e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRoot.cs deleted file mode 100644 index 26c883a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType.cs deleted file mode 100644 index 8c2be17..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 3d2c023..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpen.cs deleted file mode 100644 index aefda10..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRoot.cs deleted file mode 100644 index 63bed60..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType.cs deleted file mode 100644 index 6f6719c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem.cs deleted file mode 100644 index db002d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisible.cs deleted file mode 100644 index f721431..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRoot.cs deleted file mode 100644 index 0b1c53c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType.cs deleted file mode 100644 index ffb8cba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem.cs deleted file mode 100644 index a7fb361..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine.cs index 830b3f5..fc2e122 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine : IJs public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActions.cs deleted file mode 100644 index a55e322..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivate.cs deleted file mode 100644 index 8910767..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRoot.cs deleted file mode 100644 index 75a2565..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType.cs deleted file mode 100644 index a4a368b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem.cs deleted file mode 100644 index 221b854..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlur.cs deleted file mode 100644 index 0dfe7fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRoot.cs deleted file mode 100644 index 833a1a2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType.cs deleted file mode 100644 index 74667dc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem.cs deleted file mode 100644 index 871f47d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnter.cs deleted file mode 100644 index 237c6f9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRoot.cs deleted file mode 100644 index 52930cb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType.cs deleted file mode 100644 index 3ba86b9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 1688b49..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExit.cs deleted file mode 100644 index ad370d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRoot.cs deleted file mode 100644 index a947d7f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType.cs deleted file mode 100644 index 2402a5e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem.cs deleted file mode 100644 index 8c2edf9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocus.cs deleted file mode 100644 index 387807f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRoot.cs deleted file mode 100644 index 0a8ea55..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType.cs deleted file mode 100644 index 48941f8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem.cs deleted file mode 100644 index 992b32a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDown.cs deleted file mode 100644 index cda74c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRoot.cs deleted file mode 100644 index 81b505a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType.cs deleted file mode 100644 index 8db60fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem.cs deleted file mode 100644 index d806c50..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUp.cs deleted file mode 100644 index aa55f6e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRoot.cs deleted file mode 100644 index 40cf737..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType.cs deleted file mode 100644 index 21f7e92..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem.cs deleted file mode 100644 index 452902c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageClose.cs deleted file mode 100644 index 583c32e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRoot.cs deleted file mode 100644 index b287083..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType.cs deleted file mode 100644 index 020ed23..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem.cs deleted file mode 100644 index 0334bb2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisible.cs deleted file mode 100644 index 445a3a2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRoot.cs deleted file mode 100644 index 854dd88..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType.cs deleted file mode 100644 index 7ad239f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index ec8812a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpen.cs deleted file mode 100644 index 8cfe17f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRoot.cs deleted file mode 100644 index 2ca6840..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType.cs deleted file mode 100644 index fc94674..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem.cs deleted file mode 100644 index 7383249..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisible.cs deleted file mode 100644 index 10d12cc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRoot.cs deleted file mode 100644 index 1ff2031..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType.cs deleted file mode 100644 index 764db4a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 2f0581d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink.cs index 9050c2e..e79ffcf 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink : IJs public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("target")] public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget? Target { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActions.cs deleted file mode 100644 index d8ed903..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivate.cs deleted file mode 100644 index b755e2e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRoot.cs deleted file mode 100644 index 4046845..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType.cs deleted file mode 100644 index ad093d9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem.cs deleted file mode 100644 index effb932..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlur.cs deleted file mode 100644 index 2e01995..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRoot.cs deleted file mode 100644 index 975368b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType.cs deleted file mode 100644 index e2f9c43..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem.cs deleted file mode 100644 index 54e351b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnter.cs deleted file mode 100644 index 457c836..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRoot.cs deleted file mode 100644 index b983f42..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType.cs deleted file mode 100644 index 74260d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 8541515..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExit.cs deleted file mode 100644 index 8c56e92..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRoot.cs deleted file mode 100644 index 1861f1e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType.cs deleted file mode 100644 index adfc6c5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem.cs deleted file mode 100644 index 82bc541..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocus.cs deleted file mode 100644 index 7685ee6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRoot.cs deleted file mode 100644 index d8d4493..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType.cs deleted file mode 100644 index 304fb57..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem.cs deleted file mode 100644 index 09e7217..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDown.cs deleted file mode 100644 index 14cb384..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRoot.cs deleted file mode 100644 index 8646cd7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType.cs deleted file mode 100644 index 7bc49b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem.cs deleted file mode 100644 index 1d9a1a1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUp.cs deleted file mode 100644 index 271f74a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRoot.cs deleted file mode 100644 index 34e865b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType.cs deleted file mode 100644 index 138851b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem.cs deleted file mode 100644 index bf083a9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageClose.cs deleted file mode 100644 index b4dc6c0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRoot.cs deleted file mode 100644 index 974ae5d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType.cs deleted file mode 100644 index cb80f13..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem.cs deleted file mode 100644 index 1c1d165..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisible.cs deleted file mode 100644 index 55dc970..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRoot.cs deleted file mode 100644 index e16725d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType.cs deleted file mode 100644 index 3414f86..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 190c1b8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpen.cs deleted file mode 100644 index 9e43943..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRoot.cs deleted file mode 100644 index a266598..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType.cs deleted file mode 100644 index 9ef5981..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem.cs deleted file mode 100644 index 3587b61..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisible.cs deleted file mode 100644 index 96e30fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRoot.cs deleted file mode 100644 index c737f94..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType.cs deleted file mode 100644 index bfa55c2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem.cs deleted file mode 100644 index b522bbc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto.cs index 743d154..01f452b 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto.cs @@ -13,7 +13,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget new Dictionary(); [JsonPropertyName("destination")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination Destination { get; set; } + public required PdfDestination Destination { get; set; } [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.cs deleted file mode 100644 index 54c0db6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.cs +++ /dev/null @@ -1,864 +0,0 @@ -// ReSharper disable NullableWarningSuppressionIsUsed -// ReSharper disable InconsistentNaming - -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Nodes; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.JsonConverter) -)] -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination -{ - internal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - string type, - object? value - ) - { - Kind = type; - Value = value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Xyz value - ) - { - Kind = "xyz"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Fit value - ) - { - Kind = "fit"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitH value - ) - { - Kind = "fitH"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitV value - ) - { - Kind = "fitV"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitR value - ) - { - Kind = "fitR"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitB value - ) - { - Kind = "fitB"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitBh value - ) - { - Kind = "fitBH"; - Value = value.Value; - } - - /// - /// Create an instance of DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination with . - /// - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitBv value - ) - { - Kind = "fitBV"; - Value = value.Value; - } - - /// - /// Discriminant value - /// - [JsonPropertyName("kind")] - public string Kind { get; internal set; } - - /// - /// Discriminated union value - /// - public object? Value { get; internal set; } - - /// - /// Returns true if is "xyz" - /// - public bool IsXyz => Kind == "xyz"; - - /// - /// Returns true if is "fit" - /// - public bool IsFit => Kind == "fit"; - - /// - /// Returns true if is "fitH" - /// - public bool IsFitH => Kind == "fitH"; - - /// - /// Returns true if is "fitV" - /// - public bool IsFitV => Kind == "fitV"; - - /// - /// Returns true if is "fitR" - /// - public bool IsFitR => Kind == "fitR"; - - /// - /// Returns true if is "fitB" - /// - public bool IsFitB => Kind == "fitB"; - - /// - /// Returns true if is "fitBH" - /// - public bool IsFitBh => Kind == "fitBH"; - - /// - /// Returns true if is "fitBV" - /// - public bool IsFitBv => Kind == "fitBV"; - - /// - /// Returns the value as a if is 'xyz', otherwise throws an exception. - /// - /// Thrown when is not 'xyz'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz AsXyz() => - IsXyz - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'xyz'" - ); - - /// - /// Returns the value as a if is 'fit', otherwise throws an exception. - /// - /// Thrown when is not 'fit'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit AsFit() => - IsFit - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fit'" - ); - - /// - /// Returns the value as a if is 'fitH', otherwise throws an exception. - /// - /// Thrown when is not 'fitH'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH AsFitH() => - IsFitH - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitH'" - ); - - /// - /// Returns the value as a if is 'fitV', otherwise throws an exception. - /// - /// Thrown when is not 'fitV'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV AsFitV() => - IsFitV - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitV'" - ); - - /// - /// Returns the value as a if is 'fitR', otherwise throws an exception. - /// - /// Thrown when is not 'fitR'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR AsFitR() => - IsFitR - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitR'" - ); - - /// - /// Returns the value as a if is 'fitB', otherwise throws an exception. - /// - /// Thrown when is not 'fitB'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB AsFitB() => - IsFitB - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitB'" - ); - - /// - /// Returns the value as a if is 'fitBH', otherwise throws an exception. - /// - /// Thrown when is not 'fitBH'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh AsFitBh() => - IsFitBh - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitBH'" - ); - - /// - /// Returns the value as a if is 'fitBV', otherwise throws an exception. - /// - /// Thrown when is not 'fitBV'. - public CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv AsFitBv() => - IsFitBv - ? (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv) - Value! - : throw new global::System.Exception( - "DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Kind is not 'fitBV'" - ); - - public T Match( - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz, - T - > onXyz, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit, - T - > onFit, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH, - T - > onFitH, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV, - T - > onFitV, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR, - T - > onFitR, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB, - T - > onFitB, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh, - T - > onFitBh, - Func< - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv, - T - > onFitBv, - Func onUnknown_ - ) - { - return Kind switch - { - "xyz" => onXyz(AsXyz()), - "fit" => onFit(AsFit()), - "fitH" => onFitH(AsFitH()), - "fitV" => onFitV(AsFitV()), - "fitR" => onFitR(AsFitR()), - "fitB" => onFitB(AsFitB()), - "fitBH" => onFitBh(AsFitBh()), - "fitBV" => onFitBv(AsFitBv()), - _ => onUnknown_(Kind, Value), - }; - } - - public void Visit( - Action onXyz, - Action onFit, - Action onFitH, - Action onFitV, - Action onFitR, - Action onFitB, - Action onFitBh, - Action onFitBv, - Action onUnknown_ - ) - { - switch (Kind) - { - case "xyz": - onXyz(AsXyz()); - break; - case "fit": - onFit(AsFit()); - break; - case "fitH": - onFitH(AsFitH()); - break; - case "fitV": - onFitV(AsFitV()); - break; - case "fitR": - onFitR(AsFitR()); - break; - case "fitB": - onFitB(AsFitB()); - break; - case "fitBH": - onFitBh(AsFitBh()); - break; - case "fitBV": - onFitBv(AsFitBv()); - break; - default: - onUnknown_(Kind, Value); - break; - } - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsXyz( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz? value - ) - { - if (Kind == "xyz") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFit( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit? value - ) - { - if (Kind == "fit") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitH( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH? value - ) - { - if (Kind == "fitH") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitV( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV? value - ) - { - if (Kind == "fitV") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitR( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR? value - ) - { - if (Kind == "fitR") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitB( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB? value - ) - { - if (Kind == "fitB") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitBh( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh? value - ) - { - if (Kind == "fitBH") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh) - Value!; - return true; - } - value = null; - return false; - } - - /// - /// Attempts to cast the value to a and returns true if successful. - /// - public bool TryAsFitBv( - out CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv? value - ) - { - if (Kind == "fitBV") - { - value = - (CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv) - Value!; - return true; - } - value = null; - return false; - } - - public override string ToString() => JsonUtils.Serialize(this); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Xyz value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Fit value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitH value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitV value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitR value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitB value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitBh value - ) => new(value); - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitBv value - ) => new(value); - - [Serializable] - internal sealed class JsonConverter - : JsonConverter - { - public override bool CanConvert(global::System.Type typeToConvert) => - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination).IsAssignableFrom( - typeToConvert - ); - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination Read( - ref Utf8JsonReader reader, - global::System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var json = JsonElement.ParseValue(ref reader); - if (!json.TryGetProperty("kind", out var discriminatorElement)) - { - throw new JsonException("Missing discriminator property 'kind'"); - } - if (discriminatorElement.ValueKind != JsonValueKind.String) - { - if (discriminatorElement.ValueKind == JsonValueKind.Null) - { - throw new JsonException("Discriminator property 'kind' is null"); - } - - throw new JsonException( - $"Discriminator property 'kind' is not a string, instead is {discriminatorElement.ToString()}" - ); - } - - var discriminator = - discriminatorElement.GetString() - ?? throw new JsonException("Discriminator property 'kind' is null"); - - // Strip the discriminant property to prevent it from leaking into AdditionalProperties - var jsonObject = System.Text.Json.Nodes.JsonObject.Create(json); - jsonObject?.Remove("kind"); - var jsonWithoutDiscriminator = - jsonObject != null ? JsonSerializer.SerializeToElement(jsonObject, options) : json; - - var value = discriminator switch - { - "xyz" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz" - ), - "fit" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit" - ), - "fitH" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH" - ), - "fitV" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV" - ), - "fitR" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR" - ), - "fitB" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB" - ), - "fitBH" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh" - ), - "fitBV" => - jsonWithoutDiscriminator.Deserialize( - options - ) - ?? throw new JsonException( - "Failed to deserialize CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv" - ), - _ => json.Deserialize(options), - }; - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - discriminator, - value - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination value, - JsonSerializerOptions options - ) - { - JsonNode json = - value.Kind switch - { - "xyz" => JsonSerializer.SerializeToNode(value.Value, options), - "fit" => JsonSerializer.SerializeToNode(value.Value, options), - "fitH" => JsonSerializer.SerializeToNode(value.Value, options), - "fitV" => JsonSerializer.SerializeToNode(value.Value, options), - "fitR" => JsonSerializer.SerializeToNode(value.Value, options), - "fitB" => JsonSerializer.SerializeToNode(value.Value, options), - "fitBH" => JsonSerializer.SerializeToNode(value.Value, options), - "fitBV" => JsonSerializer.SerializeToNode(value.Value, options), - _ => JsonSerializer.SerializeToNode(value.Value, options), - } ?? new JsonObject(); - json["kind"] = value.Kind; - json.WriteTo(writer, options); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination ReadAsPropertyName( - ref Utf8JsonReader reader, - global::System.Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new JsonException("The JSON property name could not be read as a string."); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination( - stringValue, - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Kind); - } - } - - /// - /// Discriminated union type for xyz - /// - [Serializable] - public struct Xyz - { - public Xyz( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Xyz( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz value - ) => new(value); - } - - /// - /// Discriminated union type for fit - /// - [Serializable] - public struct Fit - { - public Fit( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.Fit( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit value - ) => new(value); - } - - /// - /// Discriminated union type for fitH - /// - [Serializable] - public struct FitH - { - public FitH( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitH( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH value - ) => new(value); - } - - /// - /// Discriminated union type for fitV - /// - [Serializable] - public struct FitV - { - public FitV( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitV( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV value - ) => new(value); - } - - /// - /// Discriminated union type for fitR - /// - [Serializable] - public struct FitR - { - public FitR( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitR( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR value - ) => new(value); - } - - /// - /// Discriminated union type for fitB - /// - [Serializable] - public struct FitB - { - public FitB( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitB( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB value - ) => new(value); - } - - /// - /// Discriminated union type for fitBH - /// - [Serializable] - public struct FitBh - { - public FitBh( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitBh( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh value - ) => new(value); - } - - /// - /// Discriminated union type for fitBV - /// - [Serializable] - public struct FitBv - { - public FitBv( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv value - ) - { - Value = value; - } - - internal CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv Value { get; set; } - - public override string ToString() => Value.ToString() ?? "null"; - - public static implicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestination.FitBv( - CloudPDF.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv value - ) => new(value); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh.cs deleted file mode 100644 index 09f51f8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBh - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } - - [JsonPropertyName("top")] - public double? Top { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv.cs deleted file mode 100644 index bd38317..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitBv - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } - - [JsonPropertyName("left")] - public double? Left { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH.cs deleted file mode 100644 index 7800e84..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitH - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } - - [JsonPropertyName("top")] - public double? Top { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR.cs deleted file mode 100644 index 791c6cb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR.cs +++ /dev/null @@ -1,41 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitR - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } - - [JsonPropertyName("left")] - public required double Left { get; set; } - - [JsonPropertyName("bottom")] - public required double Bottom { get; set; } - - [JsonPropertyName("right")] - public required double Right { get; set; } - - [JsonPropertyName("top")] - public required double Top { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV.cs deleted file mode 100644 index 71718aa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitV - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } - - [JsonPropertyName("left")] - public double? Left { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz.cs deleted file mode 100644 index 7e254ce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationXyz - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } - - [JsonPropertyName("left")] - public double? Left { get; set; } - - [JsonPropertyName("top")] - public double? Top { get; set; } - - [JsonPropertyName("zoom")] - public double? Zoom { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon.cs index 5b2aa3e..c64fa61 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon : public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActions.cs deleted file mode 100644 index 974afd9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivate.cs deleted file mode 100644 index 2477724..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRoot.cs deleted file mode 100644 index 86f690a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType.cs deleted file mode 100644 index b389f01..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem.cs deleted file mode 100644 index 0c3ef6c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlur.cs deleted file mode 100644 index 8573ae6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRoot.cs deleted file mode 100644 index b510a31..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType.cs deleted file mode 100644 index 9020393..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem.cs deleted file mode 100644 index 4c0d6b1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnter.cs deleted file mode 100644 index 9277c36..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRoot.cs deleted file mode 100644 index f7dbe00..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType.cs deleted file mode 100644 index d66f681..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs deleted file mode 100644 index bbc85c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExit.cs deleted file mode 100644 index e8cea83..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRoot.cs deleted file mode 100644 index 6499f25..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType.cs deleted file mode 100644 index a810f95..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem.cs deleted file mode 100644 index bdecd8e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocus.cs deleted file mode 100644 index 3d16c4c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRoot.cs deleted file mode 100644 index 13931de..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType.cs deleted file mode 100644 index fad4986..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem.cs deleted file mode 100644 index a1ac33d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDown.cs deleted file mode 100644 index d656466..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRoot.cs deleted file mode 100644 index 0be6510..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType.cs deleted file mode 100644 index a08e362..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem.cs deleted file mode 100644 index 35c7d9d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUp.cs deleted file mode 100644 index c2c29ba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRoot.cs deleted file mode 100644 index 732ab3e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType.cs deleted file mode 100644 index b85af98..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem.cs deleted file mode 100644 index f60f930..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageClose.cs deleted file mode 100644 index e5eb828..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRoot.cs deleted file mode 100644 index 1f77fff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType.cs deleted file mode 100644 index a54d19c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem.cs deleted file mode 100644 index 131f59c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisible.cs deleted file mode 100644 index c02cfd5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRoot.cs deleted file mode 100644 index efe82e1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType.cs deleted file mode 100644 index 651e7b3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 90570fa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpen.cs deleted file mode 100644 index fb15748..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRoot.cs deleted file mode 100644 index 194ab93..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType.cs deleted file mode 100644 index dc0a871..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem.cs deleted file mode 100644 index c1769c0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisible.cs deleted file mode 100644 index 4cffbeb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRoot.cs deleted file mode 100644 index 6fc0104..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType.cs deleted file mode 100644 index a1688da..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 28def42..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline.cs index 95cfc6f..c596756 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline : public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActions.cs deleted file mode 100644 index 2b295c1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivate.cs deleted file mode 100644 index e0a4f99..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRoot.cs deleted file mode 100644 index 3e5fe62..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType.cs deleted file mode 100644 index be1ad73..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem.cs deleted file mode 100644 index f8edba1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlur.cs deleted file mode 100644 index 743e576..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRoot.cs deleted file mode 100644 index 87ec334..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType.cs deleted file mode 100644 index 9f85e23..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem.cs deleted file mode 100644 index d7adffd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnter.cs deleted file mode 100644 index aff128c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRoot.cs deleted file mode 100644 index 3d5cf07..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType.cs deleted file mode 100644 index 80a2f92..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs deleted file mode 100644 index d220a89..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExit.cs deleted file mode 100644 index 22690a7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRoot.cs deleted file mode 100644 index 3fe71df..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType.cs deleted file mode 100644 index f6275a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem.cs deleted file mode 100644 index b5dba34..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocus.cs deleted file mode 100644 index 7af48c5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRoot.cs deleted file mode 100644 index 6804171..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType.cs deleted file mode 100644 index c7197fb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem.cs deleted file mode 100644 index 4d04452..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDown.cs deleted file mode 100644 index 6f394d6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRoot.cs deleted file mode 100644 index f954beb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType.cs deleted file mode 100644 index a5d0f37..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem.cs deleted file mode 100644 index a8805e0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUp.cs deleted file mode 100644 index 09de18e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRoot.cs deleted file mode 100644 index 77ef8a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType.cs deleted file mode 100644 index 0772231..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem.cs deleted file mode 100644 index 0c1d817..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageClose.cs deleted file mode 100644 index f3d39d8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRoot.cs deleted file mode 100644 index 2233ac7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType.cs deleted file mode 100644 index a03db7e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem.cs deleted file mode 100644 index 1e3a33c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisible.cs deleted file mode 100644 index 66b6a9c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRoot.cs deleted file mode 100644 index c8d08ad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType.cs deleted file mode 100644 index b084203..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 11e2c32..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpen.cs deleted file mode 100644 index 12c4bc3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRoot.cs deleted file mode 100644 index b73b28f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType.cs deleted file mode 100644 index 1d2c38b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem.cs deleted file mode 100644 index 35e3a85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisible.cs deleted file mode 100644 index 1a88999..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRoot.cs deleted file mode 100644 index 474cded..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType.cs deleted file mode 100644 index 1221635..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs deleted file mode 100644 index a80b33a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact.cs index 92b9374..79b0bb8 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact : I public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("quadPoints")] public IEnumerable QuadPoints { get; set; } = diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActions.cs deleted file mode 100644 index c5352c6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivate.cs deleted file mode 100644 index 04531fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRoot.cs deleted file mode 100644 index a581159..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType.cs deleted file mode 100644 index c2a6d1c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem.cs deleted file mode 100644 index 75c8384..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlur.cs deleted file mode 100644 index 4249afc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRoot.cs deleted file mode 100644 index c08e06c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType.cs deleted file mode 100644 index 0d7d844..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem.cs deleted file mode 100644 index a28cb77..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnter.cs deleted file mode 100644 index 519e77b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRoot.cs deleted file mode 100644 index 308c8f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType.cs deleted file mode 100644 index 0efec84..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem.cs deleted file mode 100644 index d0f5e08..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExit.cs deleted file mode 100644 index 42c288e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRoot.cs deleted file mode 100644 index 8ea9531..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType.cs deleted file mode 100644 index 72a0dbc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem.cs deleted file mode 100644 index d2a2a3e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocus.cs deleted file mode 100644 index 409f098..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRoot.cs deleted file mode 100644 index ba7daf1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType.cs deleted file mode 100644 index 8b24c42..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem.cs deleted file mode 100644 index 0662262..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDown.cs deleted file mode 100644 index 3126e1c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRoot.cs deleted file mode 100644 index 25da31e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType.cs deleted file mode 100644 index 26cc4fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem.cs deleted file mode 100644 index 83c016a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUp.cs deleted file mode 100644 index 1f673c8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRoot.cs deleted file mode 100644 index 342f41b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType.cs deleted file mode 100644 index 66a32ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem.cs deleted file mode 100644 index 682b11f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageClose.cs deleted file mode 100644 index 4e729ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRoot.cs deleted file mode 100644 index 0407bd7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType.cs deleted file mode 100644 index 7c7e3f4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem.cs deleted file mode 100644 index 4657bad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisible.cs deleted file mode 100644 index 239d111..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRoot.cs deleted file mode 100644 index b4830a1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType.cs deleted file mode 100644 index 6196832..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index a871938..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpen.cs deleted file mode 100644 index 14303c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRoot.cs deleted file mode 100644 index 0899f59..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType.cs deleted file mode 100644 index 04af7ad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem.cs deleted file mode 100644 index 023c6ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisible.cs deleted file mode 100644 index bd8d327..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRoot.cs deleted file mode 100644 index 385f0de..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType.cs deleted file mode 100644 index d955ee4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 9c8af55..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare.cs index bc07e17..8d98b98 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare : I public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActions.cs deleted file mode 100644 index e6d9e1f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivate.cs deleted file mode 100644 index 6e91fe7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRoot.cs deleted file mode 100644 index dbb4102..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType.cs deleted file mode 100644 index c6d0e43..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem.cs deleted file mode 100644 index 41eb45d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlur.cs deleted file mode 100644 index 83f157c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRoot.cs deleted file mode 100644 index cf6f343..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType.cs deleted file mode 100644 index 28ec26f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem.cs deleted file mode 100644 index f3c0471..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnter.cs deleted file mode 100644 index 229857e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRoot.cs deleted file mode 100644 index 9a68aa4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType.cs deleted file mode 100644 index cd762fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 70e8a58..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExit.cs deleted file mode 100644 index 4b70657..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRoot.cs deleted file mode 100644 index a914550..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType.cs deleted file mode 100644 index 9104a5b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem.cs deleted file mode 100644 index 5d689f0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocus.cs deleted file mode 100644 index 333f17d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRoot.cs deleted file mode 100644 index 4f83e51..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType.cs deleted file mode 100644 index f9a91c2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem.cs deleted file mode 100644 index d386f85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDown.cs deleted file mode 100644 index 2da6d71..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRoot.cs deleted file mode 100644 index ce7ed85..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType.cs deleted file mode 100644 index e12a9af..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem.cs deleted file mode 100644 index d7559da..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUp.cs deleted file mode 100644 index 350df91..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRoot.cs deleted file mode 100644 index 68e71d6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType.cs deleted file mode 100644 index a7644b5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem.cs deleted file mode 100644 index 9dd54e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageClose.cs deleted file mode 100644 index e42afcc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRoot.cs deleted file mode 100644 index e1069b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType.cs deleted file mode 100644 index f59e5a5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem.cs deleted file mode 100644 index 4661f4d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisible.cs deleted file mode 100644 index edb2f8d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRoot.cs deleted file mode 100644 index 1cb6eb7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType.cs deleted file mode 100644 index 4271641..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index b5b3a57..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpen.cs deleted file mode 100644 index 5dfdd74..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRoot.cs deleted file mode 100644 index b5829bb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType.cs deleted file mode 100644 index ac1150b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem.cs deleted file mode 100644 index 803bb14..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisible.cs deleted file mode 100644 index a6ce241..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRoot.cs deleted file mode 100644 index d02b378..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType.cs deleted file mode 100644 index 7333234..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 753775b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly.cs index 2294487..1fc3212 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly : public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActions.cs deleted file mode 100644 index f81e489..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivate.cs deleted file mode 100644 index 7bec02d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRoot.cs deleted file mode 100644 index a6b7e2a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType.cs deleted file mode 100644 index d60b3de..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem.cs deleted file mode 100644 index 76a3feb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlur.cs deleted file mode 100644 index 6f5cc0c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRoot.cs deleted file mode 100644 index 2f2bac6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType.cs deleted file mode 100644 index 9cb8cef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem.cs deleted file mode 100644 index 38214d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnter.cs deleted file mode 100644 index fd4cba1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRoot.cs deleted file mode 100644 index 088b897..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType.cs deleted file mode 100644 index 986abfd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 88651e7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExit.cs deleted file mode 100644 index 4900b78..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRoot.cs deleted file mode 100644 index e70d20d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType.cs deleted file mode 100644 index 4b11ac3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs deleted file mode 100644 index 7aa2ecd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocus.cs deleted file mode 100644 index 3077405..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRoot.cs deleted file mode 100644 index 8498610..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType.cs deleted file mode 100644 index 2f564b9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem.cs deleted file mode 100644 index 5e9a84e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDown.cs deleted file mode 100644 index bfd1136..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRoot.cs deleted file mode 100644 index 3b267bd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType.cs deleted file mode 100644 index 7f9d782..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs deleted file mode 100644 index 83d1cff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUp.cs deleted file mode 100644 index ea7f313..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRoot.cs deleted file mode 100644 index 1c046d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType.cs deleted file mode 100644 index 12f3c60..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs deleted file mode 100644 index fb321e7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageClose.cs deleted file mode 100644 index 5172fd6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRoot.cs deleted file mode 100644 index 75f7403..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType.cs deleted file mode 100644 index dc2565d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs deleted file mode 100644 index 890d6b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisible.cs deleted file mode 100644 index 84993a0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRoot.cs deleted file mode 100644 index 5e4c939..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType.cs deleted file mode 100644 index 5e7b26b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 291e746..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpen.cs deleted file mode 100644 index 2e51ee5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRoot.cs deleted file mode 100644 index dcd9e52..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType.cs deleted file mode 100644 index 4f80e70..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs deleted file mode 100644 index f21c672..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisible.cs deleted file mode 100644 index 21afe5f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRoot.cs deleted file mode 100644 index 05ab1a5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType.cs deleted file mode 100644 index ee0ad9e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 6f948cb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp.cs index 8dbe24a..99df832 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp : IJ public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("name")] public string? Name { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActions.cs deleted file mode 100644 index fda79e8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivate.cs deleted file mode 100644 index f320b6d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRoot.cs deleted file mode 100644 index df72494..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType.cs deleted file mode 100644 index 24c74b2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem.cs deleted file mode 100644 index e7311aa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlur.cs deleted file mode 100644 index e140257..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRoot.cs deleted file mode 100644 index a37fd64..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType.cs deleted file mode 100644 index 33aa22d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem.cs deleted file mode 100644 index d6e93fa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnter.cs deleted file mode 100644 index 9d29484..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRoot.cs deleted file mode 100644 index 80863ef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType.cs deleted file mode 100644 index b040582..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 4dcd30b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExit.cs deleted file mode 100644 index a8728a9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRoot.cs deleted file mode 100644 index 744ad61..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType.cs deleted file mode 100644 index 7a1ae44..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem.cs deleted file mode 100644 index ca069e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocus.cs deleted file mode 100644 index 209f8fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRoot.cs deleted file mode 100644 index 5b21945..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType.cs deleted file mode 100644 index be7c3da..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem.cs deleted file mode 100644 index 8999524..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDown.cs deleted file mode 100644 index fbdc4e4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRoot.cs deleted file mode 100644 index 17dd1aa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType.cs deleted file mode 100644 index 22f5b6d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem.cs deleted file mode 100644 index 176897a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUp.cs deleted file mode 100644 index dfacd0b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRoot.cs deleted file mode 100644 index 7f5bc48..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType.cs deleted file mode 100644 index daf32e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem.cs deleted file mode 100644 index e60ac6e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageClose.cs deleted file mode 100644 index 9a4df4b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRoot.cs deleted file mode 100644 index b62047e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType.cs deleted file mode 100644 index 9a71f04..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem.cs deleted file mode 100644 index 19c16c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisible.cs deleted file mode 100644 index 5913325..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRoot.cs deleted file mode 100644 index 0169b7c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType.cs deleted file mode 100644 index 068922c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 6d76ef1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpen.cs deleted file mode 100644 index 92abbbe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRoot.cs deleted file mode 100644 index f85635e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType.cs deleted file mode 100644 index f74539a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem.cs deleted file mode 100644 index 78df567..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisible.cs deleted file mode 100644 index e8566fd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRoot.cs deleted file mode 100644 index 7da1912..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType.cs deleted file mode 100644 index a7eb3ad..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 6e275f1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout.cs index fad714f..d724b48 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout.cs @@ -70,7 +70,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActions.cs deleted file mode 100644 index 7488928..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivate.cs deleted file mode 100644 index 56fe80d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRoot.cs deleted file mode 100644 index 518fddc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType.cs deleted file mode 100644 index c9c3668..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem.cs deleted file mode 100644 index 96cf60d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlur.cs deleted file mode 100644 index ac4c6b5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRoot.cs deleted file mode 100644 index 3626037..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType.cs deleted file mode 100644 index 0c3afb1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem.cs deleted file mode 100644 index b398abd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnter.cs deleted file mode 100644 index 6f2b79b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRoot.cs deleted file mode 100644 index c83ed13..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType.cs deleted file mode 100644 index 3c5a2b6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 2a8f9cb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExit.cs deleted file mode 100644 index 2df997a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRoot.cs deleted file mode 100644 index 5f372c4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType.cs deleted file mode 100644 index 9c5ea2e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs deleted file mode 100644 index 82f6e10..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocus.cs deleted file mode 100644 index 46b39db..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRoot.cs deleted file mode 100644 index db79bfd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType.cs deleted file mode 100644 index 41be52b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem.cs deleted file mode 100644 index 1ea462c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDown.cs deleted file mode 100644 index dbbf61e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRoot.cs deleted file mode 100644 index 7050de4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType.cs deleted file mode 100644 index 34ee7d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs deleted file mode 100644 index ca24a9e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUp.cs deleted file mode 100644 index 6346c49..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRoot.cs deleted file mode 100644 index de10f22..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType.cs deleted file mode 100644 index 7675b1b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs deleted file mode 100644 index 9eba007..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageClose.cs deleted file mode 100644 index 6c7d116..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRoot.cs deleted file mode 100644 index c47be05..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType.cs deleted file mode 100644 index a5ebbc2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs deleted file mode 100644 index 6c57fd4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisible.cs deleted file mode 100644 index 19b68d8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs deleted file mode 100644 index 750b8be..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs deleted file mode 100644 index ee753cc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 27bef76..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpen.cs deleted file mode 100644 index af80166..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRoot.cs deleted file mode 100644 index 614ef13..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType.cs deleted file mode 100644 index 86b9172..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs deleted file mode 100644 index e97a29b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisible.cs deleted file mode 100644 index e109523..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRoot.cs deleted file mode 100644 index 7958b7b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType.cs deleted file mode 100644 index 8693210..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 3c85304..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText.cs index 6d57491..9513dca 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText : IJs public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActions.cs deleted file mode 100644 index cebba10..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivate.cs deleted file mode 100644 index 14f64a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRoot.cs deleted file mode 100644 index b1410e5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType.cs deleted file mode 100644 index b517038..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem.cs deleted file mode 100644 index 9a623e6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlur.cs deleted file mode 100644 index 90b386f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRoot.cs deleted file mode 100644 index d468169..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType.cs deleted file mode 100644 index ed2e4b6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem.cs deleted file mode 100644 index a526296..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnter.cs deleted file mode 100644 index 049dc71..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRoot.cs deleted file mode 100644 index 6bab9d2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType.cs deleted file mode 100644 index 56b27b5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 64684c3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExit.cs deleted file mode 100644 index 3df721e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRoot.cs deleted file mode 100644 index 01a7813..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType.cs deleted file mode 100644 index 6b0541d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem.cs deleted file mode 100644 index aa7b069..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocus.cs deleted file mode 100644 index 0065c99..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRoot.cs deleted file mode 100644 index 2357eef..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType.cs deleted file mode 100644 index 2f7d7a4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem.cs deleted file mode 100644 index 565369a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDown.cs deleted file mode 100644 index 66b9ba8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRoot.cs deleted file mode 100644 index 58fa05b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType.cs deleted file mode 100644 index 968d97f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem.cs deleted file mode 100644 index 31de18d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUp.cs deleted file mode 100644 index c6caebe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRoot.cs deleted file mode 100644 index f5219ba..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType.cs deleted file mode 100644 index 50f856c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem.cs deleted file mode 100644 index fe0f5d1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageClose.cs deleted file mode 100644 index 587204d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRoot.cs deleted file mode 100644 index 7d63a43..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType.cs deleted file mode 100644 index a41e6cc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem.cs deleted file mode 100644 index 0fbbd54..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisible.cs deleted file mode 100644 index ee81a94..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRoot.cs deleted file mode 100644 index 8b68089..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType.cs deleted file mode 100644 index 4faafc8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 09caebc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpen.cs deleted file mode 100644 index f709df6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRoot.cs deleted file mode 100644 index 0d01126..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType.cs deleted file mode 100644 index aa1e006..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem.cs deleted file mode 100644 index 0764625..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisible.cs deleted file mode 100644 index 54bdf7a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRoot.cs deleted file mode 100644 index ef3a966..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType.cs deleted file mode 100644 index 27de3a7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 76391ea..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline.cs index 379a3a3..f1573a0 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline.cs @@ -70,7 +70,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActions.cs deleted file mode 100644 index 139afdf..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivate.cs deleted file mode 100644 index add2496..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRoot.cs deleted file mode 100644 index df10307..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType.cs deleted file mode 100644 index 4e6bbb5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem.cs deleted file mode 100644 index a5771c2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlur.cs deleted file mode 100644 index 818d2d4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRoot.cs deleted file mode 100644 index e8e78aa..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType.cs deleted file mode 100644 index 8195275..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem.cs deleted file mode 100644 index 92c02ab..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnter.cs deleted file mode 100644 index b7b3ada..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRoot.cs deleted file mode 100644 index 1b532b6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType.cs deleted file mode 100644 index 1538471..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs deleted file mode 100644 index f898408..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExit.cs deleted file mode 100644 index aed75f3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRoot.cs deleted file mode 100644 index e510e58..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType.cs deleted file mode 100644 index bf8604a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs deleted file mode 100644 index 985d150..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocus.cs deleted file mode 100644 index d9c9d2f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRoot.cs deleted file mode 100644 index 93bb2b1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType.cs deleted file mode 100644 index 711af3a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem.cs deleted file mode 100644 index af4b342..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDown.cs deleted file mode 100644 index f5172fe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRoot.cs deleted file mode 100644 index 23e536f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType.cs deleted file mode 100644 index c16f19a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs deleted file mode 100644 index 8af30b7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUp.cs deleted file mode 100644 index 931d795..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRoot.cs deleted file mode 100644 index 3a6e69c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType.cs deleted file mode 100644 index 2233efb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs deleted file mode 100644 index d108be1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageClose.cs deleted file mode 100644 index 45de40e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRoot.cs deleted file mode 100644 index 0bd4e3b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType.cs deleted file mode 100644 index 59d0a44..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs deleted file mode 100644 index cb84abb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisible.cs deleted file mode 100644 index 663ac6e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRoot.cs deleted file mode 100644 index d1dc486..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType.cs deleted file mode 100644 index b50d963..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 28fcac2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpen.cs deleted file mode 100644 index a78e76a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRoot.cs deleted file mode 100644 index c9706e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType.cs deleted file mode 100644 index 715923d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs deleted file mode 100644 index 8896985..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisible.cs deleted file mode 100644 index eae7d93..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRoot.cs deleted file mode 100644 index 6d5d4fc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType.cs deleted file mode 100644 index c8ec6ce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs deleted file mode 100644 index 39fbec4..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported.cs index 62abf6b..c64b804 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported.cs @@ -70,7 +70,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupporte public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("rawSubtypeCode")] public required int RawSubtypeCode { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActions.cs deleted file mode 100644 index cd86515..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivate.cs deleted file mode 100644 index 2afe3b0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRoot.cs deleted file mode 100644 index 546bec3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType.cs deleted file mode 100644 index 08518fd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem.cs deleted file mode 100644 index a52c3dc..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlur.cs deleted file mode 100644 index ca0c583..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRoot.cs deleted file mode 100644 index 0098ed7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType.cs deleted file mode 100644 index afaa073..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem.cs deleted file mode 100644 index ce56cbe..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnter.cs deleted file mode 100644 index 5e6c58c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRoot.cs deleted file mode 100644 index 0a52421..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType.cs deleted file mode 100644 index cec4f17..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs deleted file mode 100644 index 5417f70..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExit.cs deleted file mode 100644 index 61087b3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRoot.cs deleted file mode 100644 index 8bb41d9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType.cs deleted file mode 100644 index 3d30c90..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs deleted file mode 100644 index caad664..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocus.cs deleted file mode 100644 index c4d381d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRoot.cs deleted file mode 100644 index a81d50a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType.cs deleted file mode 100644 index b5e201e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem.cs deleted file mode 100644 index d95e9c6..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDown.cs deleted file mode 100644 index 5a63f32..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRoot.cs deleted file mode 100644 index 123bdc1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType.cs deleted file mode 100644 index 25be178..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs deleted file mode 100644 index be86dcb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUp.cs deleted file mode 100644 index 65bb706..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRoot.cs deleted file mode 100644 index faba384..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType.cs deleted file mode 100644 index 52a298a..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs deleted file mode 100644 index 0be392f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageClose.cs deleted file mode 100644 index 9340316..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRoot.cs deleted file mode 100644 index 22dcbf0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType.cs deleted file mode 100644 index 8b5500b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs deleted file mode 100644 index 746e5d5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisible.cs deleted file mode 100644 index b409664..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs deleted file mode 100644 index a16ffe7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs deleted file mode 100644 index a4ad9ab..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 27d55d5..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpen.cs deleted file mode 100644 index a2a1909..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRoot.cs deleted file mode 100644 index 5d30861..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType.cs deleted file mode 100644 index 6f04729..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs deleted file mode 100644 index 4d86817..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisible.cs deleted file mode 100644 index 0e0f508..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRoot.cs deleted file mode 100644 index 9da6dc2..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType.cs deleted file mode 100644 index 5c38dc9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs deleted file mode 100644 index bc7fc89..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget.cs index dfe1b5e..f81a542 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget.cs +++ b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget.cs @@ -69,7 +69,7 @@ public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget : I public string? UpdatedBy { get; set; } [JsonPropertyName("actions")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActions? Actions { get; set; } + public PdfAnnotationActions? Actions { get; set; } [JsonPropertyName("color")] public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor? Color { get; set; } diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActions.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActions.cs deleted file mode 100644 index 54aaa0f..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActions.cs +++ /dev/null @@ -1,59 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActions - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("activate")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivate? Activate { get; set; } - - [JsonPropertyName("cursorEnter")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnter? CursorEnter { get; set; } - - [JsonPropertyName("cursorExit")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExit? CursorExit { get; set; } - - [JsonPropertyName("mouseDown")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDown? MouseDown { get; set; } - - [JsonPropertyName("mouseUp")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUp? MouseUp { get; set; } - - [JsonPropertyName("focus")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocus? Focus { get; set; } - - [JsonPropertyName("blur")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlur? Blur { get; set; } - - [JsonPropertyName("pageOpen")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpen? PageOpen { get; set; } - - [JsonPropertyName("pageClose")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageClose? PageClose { get; set; } - - [JsonPropertyName("pageVisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisible? PageVisible { get; set; } - - [JsonPropertyName("pageInvisible")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisible? PageInvisible { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivate.cs deleted file mode 100644 index f8256f1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivate.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivate - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRoot.cs deleted file mode 100644 index ff70e51..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType.cs deleted file mode 100644 index 954dab7..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem.cs deleted file mode 100644 index 450fa4c..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsActivateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlur.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlur.cs deleted file mode 100644 index 3d193e0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlur.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlur - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRoot.cs deleted file mode 100644 index b486462..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType.cs deleted file mode 100644 index 5216d15..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem.cs deleted file mode 100644 index 7bf1e97..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsBlurWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnter.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnter.cs deleted file mode 100644 index 860b842..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnter - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRoot.cs deleted file mode 100644 index d36e1db..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType.cs deleted file mode 100644 index 2f16d86..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs deleted file mode 100644 index ef827df..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorEnterWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExit.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExit.cs deleted file mode 100644 index d1fade0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExit.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExit - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRoot.cs deleted file mode 100644 index 9ef40ce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType.cs deleted file mode 100644 index fc12a9d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem.cs deleted file mode 100644 index 4ecf023..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsCursorExitWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocus.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocus.cs deleted file mode 100644 index b83d5a9..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocus.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocus - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRoot.cs deleted file mode 100644 index 41077ec..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType.cs deleted file mode 100644 index 74b4962..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem.cs deleted file mode 100644 index a712a9e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsFocusWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDown.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDown.cs deleted file mode 100644 index b8c9bc0..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDown.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDown - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRoot.cs deleted file mode 100644 index c1b825e..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType.cs deleted file mode 100644 index d60db33..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem.cs deleted file mode 100644 index 7d448e3..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseDownWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUp.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUp.cs deleted file mode 100644 index 5da593b..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUp.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUp - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRoot.cs deleted file mode 100644 index b09754d..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType.cs deleted file mode 100644 index cba67ff..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem.cs deleted file mode 100644 index 43053ae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsMouseUpWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageClose.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageClose.cs deleted file mode 100644 index 9de5422..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageClose.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageClose - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRoot.cs deleted file mode 100644 index f6110dd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType.cs deleted file mode 100644 index cc2a481..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem.cs deleted file mode 100644 index 99632ce..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageCloseWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisible.cs deleted file mode 100644 index d82bce1..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRoot.cs deleted file mode 100644 index a65a0ae..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType.cs deleted file mode 100644 index 9754953..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs deleted file mode 100644 index 61c4788..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageInvisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpen.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpen.cs deleted file mode 100644 index 0c2c297..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpen.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpen - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRoot.cs deleted file mode 100644 index 4445c36..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType.cs deleted file mode 100644 index d037fbb..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem.cs deleted file mode 100644 index 1406571..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageOpenWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisible.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisible.cs deleted file mode 100644 index 1daa748..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisible.cs +++ /dev/null @@ -1,39 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisible - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRoot.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRoot.cs deleted file mode 100644 index 0c851dd..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRoot - : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType.cs deleted file mode 100644 index 46aaae8..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Unknown = - new(Values.Unknown); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Goto = - new(Values.Goto); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Launch = - new(Values.Launch); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Thread = - new(Values.Thread); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Uri = - new(Values.Uri); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Sound = - new(Values.Sound); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Movie = - new(Values.Movie); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Hide = - new(Values.Hide); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Named = - new(Values.Named); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType ImportData = - new(Values.ImportData); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Javascript = - new(Values.Javascript); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Rendition = - new(Values.Rendition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Transition = - new(Values.Transition); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Goto3DView = - new(Values.Goto3DView); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootTypeSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs b/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs deleted file mode 100644 index c261e99..0000000 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem.cs +++ /dev/null @@ -1,144 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem.DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem - : IStringEnum -{ - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem Incomplete = - new(Values.Incomplete); - - public DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem( - string value - ) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem FromCustom( - string value - ) - { - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem( - value - ); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem value - ) => value.Value; - - public static explicit operator DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem( - string value - ) => new(value); - - internal class DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItemSerializer - : JsonConverter - { - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetActionsPageVisibleWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckbox.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckbox.cs index ad0572b..ff416f4 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckbox.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckbox.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemCheckbox : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemCheckboxActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActions.cs deleted file mode 100644 index 8d33bec..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate.cs deleted file mode 100644 index 0909921..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot.cs deleted file mode 100644 index 7769004..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType.cs deleted file mode 100644 index 31abfdf..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType.DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem.cs deleted file mode 100644 index 288908d..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormat.cs deleted file mode 100644 index 3e971e6..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot.cs deleted file mode 100644 index 3ae148b..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType.cs deleted file mode 100644 index c44b2e9..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType.cs +++ /dev/null @@ -1,219 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType.DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem.cs deleted file mode 100644 index 6283fbf..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke.cs deleted file mode 100644 index b397945..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot.cs deleted file mode 100644 index 633e77a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType.cs deleted file mode 100644 index 97947d3..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem.cs deleted file mode 100644 index b8c9657..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidate.cs deleted file mode 100644 index aabc095..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot.cs deleted file mode 100644 index eb5cf2d..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType.cs deleted file mode 100644 index b041f82..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType.DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem.cs deleted file mode 100644 index 5ab76ff..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemCheckboxActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCombobox.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCombobox.cs index ac8f3a0..db8b771 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCombobox.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemCombobox.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemCombobox : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemComboboxActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActions.cs deleted file mode 100644 index 667fc00..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemComboboxActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemComboboxActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemComboboxActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculate.cs deleted file mode 100644 index 9c405dd..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot.cs deleted file mode 100644 index 2bda005..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType.cs deleted file mode 100644 index 24c88f5..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType.DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem.cs deleted file mode 100644 index c15c99c..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormat.cs deleted file mode 100644 index 8218016..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot.cs deleted file mode 100644 index 20b7699..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsFormatRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType.cs deleted file mode 100644 index 13c282a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType.cs +++ /dev/null @@ -1,219 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType.DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem.cs deleted file mode 100644 index 80426c2..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke.cs deleted file mode 100644 index e024f5a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot.cs deleted file mode 100644 index 7f4bcb1..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType.cs deleted file mode 100644 index 75d2006..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem.cs deleted file mode 100644 index b56796a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidate.cs deleted file mode 100644 index bd60bbe..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot.cs deleted file mode 100644 index 29de005..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemComboboxActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType.cs deleted file mode 100644 index 898d87a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType.DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem.cs deleted file mode 100644 index 9a1f492..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemComboboxActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListbox.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListbox.cs index bcad817..925d691 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListbox.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListbox.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemListbox : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemListboxActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActions.cs deleted file mode 100644 index e6f8d26..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemListboxActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemListboxActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemListboxActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemListboxActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculate.cs deleted file mode 100644 index a188ea0..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot.cs deleted file mode 100644 index d701a3c..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType.cs deleted file mode 100644 index 5be6c22..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType.DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem.cs deleted file mode 100644 index 3c4bc0c..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormat.cs deleted file mode 100644 index 638a804..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot.cs deleted file mode 100644 index 454777e..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsFormatRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType.cs deleted file mode 100644 index d6343c7..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType.DocFormsGet200ResponseFieldsItemListboxActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem.cs deleted file mode 100644 index c9011af..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystroke.cs deleted file mode 100644 index 53e9335..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot.cs deleted file mode 100644 index 28aa981..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType.cs deleted file mode 100644 index 5322a74..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem.cs deleted file mode 100644 index 69a24d4..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidate.cs deleted file mode 100644 index 95c7200..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot.cs deleted file mode 100644 index f910c32..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemListboxActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType.cs deleted file mode 100644 index 3ff3077..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType.cs +++ /dev/null @@ -1,217 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType.DocFormsGet200ResponseFieldsItemListboxActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem.cs deleted file mode 100644 index 7a693d0..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemListboxActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbutton.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbutton.cs index df6476a..6941fd4 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbutton.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbutton.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemPushbutton : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemPushbuttonActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActions.cs deleted file mode 100644 index fe29d52..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate.cs deleted file mode 100644 index 01389d0..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot.cs deleted file mode 100644 index 0f41c40..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType.cs deleted file mode 100644 index eaffa24..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType.DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem.cs deleted file mode 100644 index 1739cd1..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat.cs deleted file mode 100644 index a92c7f4..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot.cs deleted file mode 100644 index d0c65cc..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType.cs deleted file mode 100644 index 1c2939e..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType.DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem.cs deleted file mode 100644 index 730c018..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke.cs deleted file mode 100644 index 351e525..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot.cs deleted file mode 100644 index 0297c42..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType.cs deleted file mode 100644 index fc329e9..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem.cs deleted file mode 100644 index 7009661..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate.cs deleted file mode 100644 index ff2fe1c..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot.cs deleted file mode 100644 index 635f1d6..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType.cs deleted file mode 100644 index c8dda77..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType.DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem.cs deleted file mode 100644 index 441b6c9..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemPushbuttonActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadio.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadio.cs index 06e584f..df05267 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadio.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadio.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemRadio : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemRadioActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActions.cs deleted file mode 100644 index 5ae8572..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemRadioActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemRadioActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemRadioActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemRadioActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculate.cs deleted file mode 100644 index 1d1089c..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot.cs deleted file mode 100644 index 5abbfc4..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType.cs deleted file mode 100644 index 3e2586f..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType.cs +++ /dev/null @@ -1,219 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType.DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem.cs deleted file mode 100644 index 08d8b8a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormat.cs deleted file mode 100644 index 869dccd..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType.cs deleted file mode 100644 index d2e9a39..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType.cs +++ /dev/null @@ -1,225 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType.DocFormsGet200ResponseFieldsItemRadioActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Unknown = new( - Values.Unknown - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Launch = new( - Values.Launch - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Thread = new( - Values.Thread - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem.cs deleted file mode 100644 index 21f751d..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem.cs +++ /dev/null @@ -1,136 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystroke.cs deleted file mode 100644 index c1d27f9..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot.cs deleted file mode 100644 index 08406d8..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType.cs deleted file mode 100644 index 9f03fb9..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType.cs +++ /dev/null @@ -1,219 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem.cs deleted file mode 100644 index 401ddce..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidate.cs deleted file mode 100644 index 9679375..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot.cs deleted file mode 100644 index 795e477..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType.cs deleted file mode 100644 index 2f31f88..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType.DocFormsGet200ResponseFieldsItemRadioActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem.cs deleted file mode 100644 index 8905fdd..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemRadioActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignature.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignature.cs index 801aaf7..ef1aa58 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignature.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignature.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemSignature : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemSignatureActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActions.cs deleted file mode 100644 index e7294e0..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemSignatureActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemSignatureActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemSignatureActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculate.cs deleted file mode 100644 index 769da7b..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot.cs deleted file mode 100644 index 43c6603..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType.cs deleted file mode 100644 index cfd4479..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType.DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem.cs deleted file mode 100644 index 740c2b9..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormat.cs deleted file mode 100644 index 78b0413..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot.cs deleted file mode 100644 index a9e3edc..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsFormatRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType.cs deleted file mode 100644 index 9d4d816..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType.cs +++ /dev/null @@ -1,217 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType.DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem.cs deleted file mode 100644 index d8cc82e..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke.cs deleted file mode 100644 index fc905ae..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot.cs deleted file mode 100644 index abf717e..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType.cs deleted file mode 100644 index 1cf44b1..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem.cs deleted file mode 100644 index 17740e6..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidate.cs deleted file mode 100644 index 7dd3ac3..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot.cs deleted file mode 100644 index 4eb9565..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemSignatureActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType.cs deleted file mode 100644 index 8149935..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType.cs +++ /dev/null @@ -1,220 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType.DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem.cs deleted file mode 100644 index f40d2da..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemSignatureActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemText.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemText.cs index 3cf82f5..2a6b638 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemText.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemText.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemText : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemTextDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemTextActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculate.cs deleted file mode 100644 index 6ff7979..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType.cs deleted file mode 100644 index e416d6b..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType.DocFormsGet200ResponseFieldsItemTextActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem.cs deleted file mode 100644 index 360ff0d..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRootType.cs deleted file mode 100644 index 3bc2d19..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRootType.cs +++ /dev/null @@ -1,223 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsFormatRootType.DocFormsGet200ResponseFieldsItemTextActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Unknown = new( - Values.Unknown - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Launch = new( - Values.Launch - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Thread = new( - Values.Thread - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemTextActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsFormatRootType FromCustom(string value) - { - return new DocFormsGet200ResponseFieldsItemTextActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem.cs deleted file mode 100644 index 0158be2..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem.cs +++ /dev/null @@ -1,136 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystroke.cs deleted file mode 100644 index 1ae62fa..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot.cs deleted file mode 100644 index 391b129..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType.cs deleted file mode 100644 index 0994539..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem.cs deleted file mode 100644 index fad45a4..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidate.cs deleted file mode 100644 index 3e95aeb..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemTextActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRootType.cs deleted file mode 100644 index 39dddcc..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRootType.cs +++ /dev/null @@ -1,224 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsValidateRootType.DocFormsGet200ResponseFieldsItemTextActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Launch = new( - Values.Launch - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Thread = new( - Values.Thread - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemTextActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsValidateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsValidateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem.cs deleted file mode 100644 index 6b462c5..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem.cs +++ /dev/null @@ -1,136 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemTextActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknown.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknown.cs index e3c6feb..fac5801 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknown.cs +++ b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknown.cs @@ -39,7 +39,7 @@ public record DocFormsGet200ResponseFieldsItemUnknown : IJsonOnDeserialized public required DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry DefaultValueEntry { get; set; } [JsonPropertyName("actions")] - public DocFormsGet200ResponseFieldsItemUnknownActions? Actions { get; set; } + public PdfFieldActions? Actions { get; set; } [JsonPropertyName("widgets")] public IEnumerable Widgets { get; set; } = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActions.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActions.cs deleted file mode 100644 index 435df6b..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActions : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke? Keystroke { get; set; } - - [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemUnknownActionsFormat? Format { get; set; } - - [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemUnknownActionsValidate? Validate { get; set; } - - [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemUnknownActionsCalculate? Calculate { get; set; } - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculate.cs deleted file mode 100644 index 8dfec49..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsCalculate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot.cs deleted file mode 100644 index c38c001..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType.cs deleted file mode 100644 index 75e4782..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType.DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem.cs deleted file mode 100644 index 3c9c60c..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem.DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsCalculateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormat.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormat.cs deleted file mode 100644 index 532d314..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormat.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsFormat : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot.cs deleted file mode 100644 index 30c9356..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsFormatRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType.cs deleted file mode 100644 index 5ed2e76..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType.cs +++ /dev/null @@ -1,222 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType.DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Goto = new( - Values.Goto - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Sound = new( - Values.Sound - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Movie = new( - Values.Movie - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Hide = new( - Values.Hide - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Named = new( - Values.Named - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsFormatRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem.cs deleted file mode 100644 index 36170bf..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem.DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsFormatWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke.cs deleted file mode 100644 index 916a206..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsKeystroke : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot.cs deleted file mode 100644 index 84cb98e..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType.cs deleted file mode 100644 index da66b8a..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType.cs +++ /dev/null @@ -1,216 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType.DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Uri = - new(Values.Uri); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem.cs deleted file mode 100644 index cb37cd5..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem.DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsKeystrokeWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidate.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidate.cs deleted file mode 100644 index f12d195..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidate.cs +++ /dev/null @@ -1,38 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsValidate : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot? Root { get; set; } - - [JsonPropertyName("incomplete")] - public required bool Incomplete { get; set; } - - [JsonPropertyName("warningFlags")] - public required int WarningFlags { get; set; } - - [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot.cs deleted file mode 100644 index ee20694..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot.cs +++ /dev/null @@ -1,37 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[Serializable] -public record DocFormsGet200ResponseFieldsItemUnknownActionsValidateRoot : IJsonOnDeserialized -{ - [JsonExtensionData] - private readonly IDictionary _extensionData = - new Dictionary(); - - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Type { get; set; } - - [JsonPropertyName("subtype")] - public required string Subtype { get; set; } - - [JsonPropertyName("script")] - public string? Script { get; set; } - - [JsonPropertyName("next")] - public IEnumerable Next { get; set; } = new List(); - - [JsonIgnore] - public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); - - void IJsonOnDeserialized.OnDeserialized() => - AdditionalProperties.CopyFromExtensionData(_extensionData); - - /// - public override string ToString() - { - return JsonUtils.Serialize(this); - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType.cs deleted file mode 100644 index 335f7b0..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType.cs +++ /dev/null @@ -1,217 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType.DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootTypeSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Unknown = - new(Values.Unknown); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Goto = - new(Values.Goto); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType GotoRemote = - new(Values.GotoRemote); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType GotoEmbedded = - new(Values.GotoEmbedded); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Launch = - new(Values.Launch); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Thread = - new(Values.Thread); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Uri = new( - Values.Uri - ); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Sound = - new(Values.Sound); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Movie = - new(Values.Movie); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Hide = - new(Values.Hide); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Named = - new(Values.Named); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType SubmitForm = - new(Values.SubmitForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType ResetForm = - new(Values.ResetForm); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType ImportData = - new(Values.ImportData); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Javascript = - new(Values.Javascript); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType SetOcgState = - new(Values.SetOcgState); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Rendition = - new(Values.Rendition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Transition = - new(Values.Transition); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Goto3DView = - new(Values.Goto3DView); - - public DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootTypeSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType(stringValue); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType(stringValue); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsValidateRootType value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string Unknown = "unknown"; - - public const string Goto = "goto"; - - public const string GotoRemote = "goto-remote"; - - public const string GotoEmbedded = "goto-embedded"; - - public const string Launch = "launch"; - - public const string Thread = "thread"; - - public const string Uri = "uri"; - - public const string Sound = "sound"; - - public const string Movie = "movie"; - - public const string Hide = "hide"; - - public const string Named = "named"; - - public const string SubmitForm = "submit-form"; - - public const string ResetForm = "reset-form"; - - public const string ImportData = "import-data"; - - public const string Javascript = "javascript"; - - public const string SetOcgState = "set-ocg-state"; - - public const string Rendition = "rendition"; - - public const string Transition = "transition"; - - public const string Goto3DView = "goto-3d-view"; - } -} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem.cs b/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem.cs deleted file mode 100644 index 0d2b8e7..0000000 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using CloudPDF.Core; -using global::System.Text.Json; -using global::System.Text.Json.Serialization; - -namespace CloudPDF; - -[JsonConverter( - typeof(DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem.DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItemSerializer) -)] -[Serializable] -public readonly record struct DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem - : IStringEnum -{ - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem CycleDropped = - new(Values.CycleDropped); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem MalformedNext = - new(Values.MalformedNext); - - public static readonly DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem Incomplete = - new(Values.Incomplete); - - public DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem(string value) - { - Value = value; - } - - /// - /// The string value of the enum. - /// - public string Value { get; } - - /// - /// Create a string enum with the given value. - /// - public static DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem FromCustom( - string value - ) - { - return new DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem(value); - } - - public bool Equals(string? other) - { - return Value.Equals(other); - } - - /// - /// Returns the string value of the enum. - /// - public override string ToString() - { - return Value; - } - - public static bool operator ==( - DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem value1, - string value2 - ) => value1.Value.Equals(value2); - - public static bool operator !=( - DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem value1, - string value2 - ) => !value1.Value.Equals(value2); - - public static explicit operator string( - DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem value - ) => value.Value; - - public static explicit operator DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem( - string value - ) => new(value); - - internal class DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItemSerializer - : JsonConverter - { - public override DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem Read( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON value could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem( - stringValue - ); - } - - public override void Write( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WriteStringValue(value.Value); - } - - public override DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem ReadAsPropertyName( - ref Utf8JsonReader reader, - Type typeToConvert, - JsonSerializerOptions options - ) - { - var stringValue = - reader.GetString() - ?? throw new global::System.Exception( - "The JSON property name could not be read as a string." - ); - return new DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem( - stringValue - ); - } - - public override void WriteAsPropertyName( - Utf8JsonWriter writer, - DocFormsGet200ResponseFieldsItemUnknownActionsValidateWarningsItem value, - JsonSerializerOptions options - ) - { - writer.WritePropertyName(value.Value); - } - } - - /// - /// Constant strings for enum values - /// - [Serializable] - public static class Values - { - public const string CycleDropped = "cycle-dropped"; - - public const string MalformedNext = "malformed-next"; - - public const string Incomplete = "incomplete"; - } -} diff --git a/src/CloudPDF/Types/DocumentActionsSnapshot.cs b/src/CloudPDF/Types/DocumentActionsSnapshot.cs new file mode 100644 index 0000000..8a72885 --- /dev/null +++ b/src/CloudPDF/Types/DocumentActionsSnapshot.cs @@ -0,0 +1,50 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record DocumentActionsSnapshot : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("nameTreeScripts")] + public IEnumerable NameTreeScripts { get; set; } = + new List(); + + [JsonPropertyName("openAction")] + public PdfActionTree? OpenAction { get; set; } + + [JsonPropertyName("openDestination")] + public PdfDestination? OpenDestination { get; set; } + + [JsonPropertyName("willClose")] + public PdfActionTree? WillClose { get; set; } + + [JsonPropertyName("willSave")] + public PdfActionTree? WillSave { get; set; } + + [JsonPropertyName("didSave")] + public PdfActionTree? DidSave { get; set; } + + [JsonPropertyName("willPrint")] + public PdfActionTree? WillPrint { get; set; } + + [JsonPropertyName("didPrint")] + public PdfActionTree? DidPrint { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/DocumentActionsSnapshotNameTreeScriptsItem.cs b/src/CloudPDF/Types/DocumentActionsSnapshotNameTreeScriptsItem.cs new file mode 100644 index 0000000..856518d --- /dev/null +++ b/src/CloudPDF/Types/DocumentActionsSnapshotNameTreeScriptsItem.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record DocumentActionsSnapshotNameTreeScriptsItem : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("name")] + public required string Name { get; set; } + + [JsonPropertyName("action")] + public required PdfActionTree Action { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNode.cs b/src/CloudPDF/Types/PdfActionNode.cs new file mode 100644 index 0000000..6b9f45e --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNode.cs @@ -0,0 +1,1462 @@ +// ReSharper disable NullableWarningSuppressionIsUsed +// ReSharper disable InconsistentNaming + +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Nodes; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[JsonConverter(typeof(PdfActionNode.JsonConverter))] +[Serializable] +public record PdfActionNode +{ + internal PdfActionNode(string type, object? value) + { + Type = type; + Value = value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Javascript value) + { + Type = "javascript"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Goto value) + { + Type = "goto"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Uri value) + { + Type = "uri"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Named value) + { + Type = "named"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Hide value) + { + Type = "hide"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.ResetForm value) + { + Type = "reset-form"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.GotoRemote value) + { + Type = "goto-remote"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.GotoEmbedded value) + { + Type = "goto-embedded"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Launch value) + { + Type = "launch"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Rendition value) + { + Type = "rendition"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.SubmitForm value) + { + Type = "submit-form"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Thread value) + { + Type = "thread"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Sound value) + { + Type = "sound"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Movie value) + { + Type = "movie"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.ImportData value) + { + Type = "import-data"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.SetOcgState value) + { + Type = "set-ocg-state"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Transition value) + { + Type = "transition"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Goto3DView value) + { + Type = "goto-3d-view"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionNode with . + /// + public PdfActionNode(PdfActionNode.Unknown value) + { + Type = "unknown"; + Value = value.Value; + } + + /// + /// Discriminant value + /// + [JsonPropertyName("type")] + public string Type { get; internal set; } + + /// + /// Discriminated union value + /// + public object? Value { get; internal set; } + + /// + /// Returns true if is "javascript" + /// + public bool IsJavascript => Type == "javascript"; + + /// + /// Returns true if is "goto" + /// + public bool IsGoto => Type == "goto"; + + /// + /// Returns true if is "uri" + /// + public bool IsUri => Type == "uri"; + + /// + /// Returns true if is "named" + /// + public bool IsNamed => Type == "named"; + + /// + /// Returns true if is "hide" + /// + public bool IsHide => Type == "hide"; + + /// + /// Returns true if is "reset-form" + /// + public bool IsResetForm => Type == "reset-form"; + + /// + /// Returns true if is "goto-remote" + /// + public bool IsGotoRemote => Type == "goto-remote"; + + /// + /// Returns true if is "goto-embedded" + /// + public bool IsGotoEmbedded => Type == "goto-embedded"; + + /// + /// Returns true if is "launch" + /// + public bool IsLaunch => Type == "launch"; + + /// + /// Returns true if is "rendition" + /// + public bool IsRendition => Type == "rendition"; + + /// + /// Returns true if is "submit-form" + /// + public bool IsSubmitForm => Type == "submit-form"; + + /// + /// Returns true if is "thread" + /// + public bool IsThread => Type == "thread"; + + /// + /// Returns true if is "sound" + /// + public bool IsSound => Type == "sound"; + + /// + /// Returns true if is "movie" + /// + public bool IsMovie => Type == "movie"; + + /// + /// Returns true if is "import-data" + /// + public bool IsImportData => Type == "import-data"; + + /// + /// Returns true if is "set-ocg-state" + /// + public bool IsSetOcgState => Type == "set-ocg-state"; + + /// + /// Returns true if is "transition" + /// + public bool IsTransition => Type == "transition"; + + /// + /// Returns true if is "goto-3d-view" + /// + public bool IsGoto3DView => Type == "goto-3d-view"; + + /// + /// Returns true if is "unknown" + /// + public bool IsUnknown => Type == "unknown"; + + /// + /// Returns the value as a if is 'javascript', otherwise throws an exception. + /// + /// Thrown when is not 'javascript'. + public CloudPDF.PdfActionNodeJavascript AsJavascript() => + IsJavascript + ? (CloudPDF.PdfActionNodeJavascript)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'javascript'"); + + /// + /// Returns the value as a if is 'goto', otherwise throws an exception. + /// + /// Thrown when is not 'goto'. + public CloudPDF.PdfActionNodeGoto AsGoto() => + IsGoto + ? (CloudPDF.PdfActionNodeGoto)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'goto'"); + + /// + /// Returns the value as a if is 'uri', otherwise throws an exception. + /// + /// Thrown when is not 'uri'. + public CloudPDF.PdfActionNodeUri AsUri() => + IsUri + ? (CloudPDF.PdfActionNodeUri)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'uri'"); + + /// + /// Returns the value as a if is 'named', otherwise throws an exception. + /// + /// Thrown when is not 'named'. + public CloudPDF.PdfActionNodeNamed AsNamed() => + IsNamed + ? (CloudPDF.PdfActionNodeNamed)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'named'"); + + /// + /// Returns the value as a if is 'hide', otherwise throws an exception. + /// + /// Thrown when is not 'hide'. + public CloudPDF.PdfActionNodeHide AsHide() => + IsHide + ? (CloudPDF.PdfActionNodeHide)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'hide'"); + + /// + /// Returns the value as a if is 'reset-form', otherwise throws an exception. + /// + /// Thrown when is not 'reset-form'. + public CloudPDF.PdfActionNodeResetForm AsResetForm() => + IsResetForm + ? (CloudPDF.PdfActionNodeResetForm)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'reset-form'"); + + /// + /// Returns the value as a if is 'goto-remote', otherwise throws an exception. + /// + /// Thrown when is not 'goto-remote'. + public CloudPDF.PdfActionNodeGotoRemote AsGotoRemote() => + IsGotoRemote + ? (CloudPDF.PdfActionNodeGotoRemote)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'goto-remote'"); + + /// + /// Returns the value as a if is 'goto-embedded', otherwise throws an exception. + /// + /// Thrown when is not 'goto-embedded'. + public CloudPDF.PdfActionNodeGotoEmbedded AsGotoEmbedded() => + IsGotoEmbedded + ? (CloudPDF.PdfActionNodeGotoEmbedded)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'goto-embedded'"); + + /// + /// Returns the value as a if is 'launch', otherwise throws an exception. + /// + /// Thrown when is not 'launch'. + public CloudPDF.PdfActionNodeLaunch AsLaunch() => + IsLaunch + ? (CloudPDF.PdfActionNodeLaunch)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'launch'"); + + /// + /// Returns the value as a if is 'rendition', otherwise throws an exception. + /// + /// Thrown when is not 'rendition'. + public CloudPDF.PdfActionNodeRendition AsRendition() => + IsRendition + ? (CloudPDF.PdfActionNodeRendition)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'rendition'"); + + /// + /// Returns the value as a if is 'submit-form', otherwise throws an exception. + /// + /// Thrown when is not 'submit-form'. + public CloudPDF.PdfActionNodeSubmitForm AsSubmitForm() => + IsSubmitForm + ? (CloudPDF.PdfActionNodeSubmitForm)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'submit-form'"); + + /// + /// Returns the value as a if is 'thread', otherwise throws an exception. + /// + /// Thrown when is not 'thread'. + public CloudPDF.PdfActionNodeThread AsThread() => + IsThread + ? (CloudPDF.PdfActionNodeThread)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'thread'"); + + /// + /// Returns the value as a if is 'sound', otherwise throws an exception. + /// + /// Thrown when is not 'sound'. + public CloudPDF.PdfActionNodeSound AsSound() => + IsSound + ? (CloudPDF.PdfActionNodeSound)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'sound'"); + + /// + /// Returns the value as a if is 'movie', otherwise throws an exception. + /// + /// Thrown when is not 'movie'. + public CloudPDF.PdfActionNodeMovie AsMovie() => + IsMovie + ? (CloudPDF.PdfActionNodeMovie)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'movie'"); + + /// + /// Returns the value as a if is 'import-data', otherwise throws an exception. + /// + /// Thrown when is not 'import-data'. + public CloudPDF.PdfActionNodeImportData AsImportData() => + IsImportData + ? (CloudPDF.PdfActionNodeImportData)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'import-data'"); + + /// + /// Returns the value as a if is 'set-ocg-state', otherwise throws an exception. + /// + /// Thrown when is not 'set-ocg-state'. + public CloudPDF.PdfActionNodeSetOcgState AsSetOcgState() => + IsSetOcgState + ? (CloudPDF.PdfActionNodeSetOcgState)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'set-ocg-state'"); + + /// + /// Returns the value as a if is 'transition', otherwise throws an exception. + /// + /// Thrown when is not 'transition'. + public CloudPDF.PdfActionNodeTransition AsTransition() => + IsTransition + ? (CloudPDF.PdfActionNodeTransition)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'transition'"); + + /// + /// Returns the value as a if is 'goto-3d-view', otherwise throws an exception. + /// + /// Thrown when is not 'goto-3d-view'. + public CloudPDF.PdfActionNodeGoto3DView AsGoto3DView() => + IsGoto3DView + ? (CloudPDF.PdfActionNodeGoto3DView)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'goto-3d-view'"); + + /// + /// Returns the value as a if is 'unknown', otherwise throws an exception. + /// + /// Thrown when is not 'unknown'. + public CloudPDF.PdfActionNodeUnknown AsUnknown() => + IsUnknown + ? (CloudPDF.PdfActionNodeUnknown)Value! + : throw new global::System.Exception("PdfActionNode.Type is not 'unknown'"); + + public T Match( + Func onJavascript, + Func onGoto, + Func onUri, + Func onNamed, + Func onHide, + Func onResetForm, + Func onGotoRemote, + Func onGotoEmbedded, + Func onLaunch, + Func onRendition, + Func onSubmitForm, + Func onThread, + Func onSound, + Func onMovie, + Func onImportData, + Func onSetOcgState, + Func onTransition, + Func onGoto3DView, + Func onUnknown, + Func onUnknown_ + ) + { + return Type switch + { + "javascript" => onJavascript(AsJavascript()), + "goto" => onGoto(AsGoto()), + "uri" => onUri(AsUri()), + "named" => onNamed(AsNamed()), + "hide" => onHide(AsHide()), + "reset-form" => onResetForm(AsResetForm()), + "goto-remote" => onGotoRemote(AsGotoRemote()), + "goto-embedded" => onGotoEmbedded(AsGotoEmbedded()), + "launch" => onLaunch(AsLaunch()), + "rendition" => onRendition(AsRendition()), + "submit-form" => onSubmitForm(AsSubmitForm()), + "thread" => onThread(AsThread()), + "sound" => onSound(AsSound()), + "movie" => onMovie(AsMovie()), + "import-data" => onImportData(AsImportData()), + "set-ocg-state" => onSetOcgState(AsSetOcgState()), + "transition" => onTransition(AsTransition()), + "goto-3d-view" => onGoto3DView(AsGoto3DView()), + "unknown" => onUnknown(AsUnknown()), + _ => onUnknown_(Type, Value), + }; + } + + public void Visit( + Action onJavascript, + Action onGoto, + Action onUri, + Action onNamed, + Action onHide, + Action onResetForm, + Action onGotoRemote, + Action onGotoEmbedded, + Action onLaunch, + Action onRendition, + Action onSubmitForm, + Action onThread, + Action onSound, + Action onMovie, + Action onImportData, + Action onSetOcgState, + Action onTransition, + Action onGoto3DView, + Action onUnknown, + Action onUnknown_ + ) + { + switch (Type) + { + case "javascript": + onJavascript(AsJavascript()); + break; + case "goto": + onGoto(AsGoto()); + break; + case "uri": + onUri(AsUri()); + break; + case "named": + onNamed(AsNamed()); + break; + case "hide": + onHide(AsHide()); + break; + case "reset-form": + onResetForm(AsResetForm()); + break; + case "goto-remote": + onGotoRemote(AsGotoRemote()); + break; + case "goto-embedded": + onGotoEmbedded(AsGotoEmbedded()); + break; + case "launch": + onLaunch(AsLaunch()); + break; + case "rendition": + onRendition(AsRendition()); + break; + case "submit-form": + onSubmitForm(AsSubmitForm()); + break; + case "thread": + onThread(AsThread()); + break; + case "sound": + onSound(AsSound()); + break; + case "movie": + onMovie(AsMovie()); + break; + case "import-data": + onImportData(AsImportData()); + break; + case "set-ocg-state": + onSetOcgState(AsSetOcgState()); + break; + case "transition": + onTransition(AsTransition()); + break; + case "goto-3d-view": + onGoto3DView(AsGoto3DView()); + break; + case "unknown": + onUnknown(AsUnknown()); + break; + default: + onUnknown_(Type, Value); + break; + } + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsJavascript(out CloudPDF.PdfActionNodeJavascript? value) + { + if (Type == "javascript") + { + value = (CloudPDF.PdfActionNodeJavascript)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsGoto(out CloudPDF.PdfActionNodeGoto? value) + { + if (Type == "goto") + { + value = (CloudPDF.PdfActionNodeGoto)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsUri(out CloudPDF.PdfActionNodeUri? value) + { + if (Type == "uri") + { + value = (CloudPDF.PdfActionNodeUri)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsNamed(out CloudPDF.PdfActionNodeNamed? value) + { + if (Type == "named") + { + value = (CloudPDF.PdfActionNodeNamed)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsHide(out CloudPDF.PdfActionNodeHide? value) + { + if (Type == "hide") + { + value = (CloudPDF.PdfActionNodeHide)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsResetForm(out CloudPDF.PdfActionNodeResetForm? value) + { + if (Type == "reset-form") + { + value = (CloudPDF.PdfActionNodeResetForm)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsGotoRemote(out CloudPDF.PdfActionNodeGotoRemote? value) + { + if (Type == "goto-remote") + { + value = (CloudPDF.PdfActionNodeGotoRemote)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsGotoEmbedded(out CloudPDF.PdfActionNodeGotoEmbedded? value) + { + if (Type == "goto-embedded") + { + value = (CloudPDF.PdfActionNodeGotoEmbedded)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsLaunch(out CloudPDF.PdfActionNodeLaunch? value) + { + if (Type == "launch") + { + value = (CloudPDF.PdfActionNodeLaunch)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsRendition(out CloudPDF.PdfActionNodeRendition? value) + { + if (Type == "rendition") + { + value = (CloudPDF.PdfActionNodeRendition)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsSubmitForm(out CloudPDF.PdfActionNodeSubmitForm? value) + { + if (Type == "submit-form") + { + value = (CloudPDF.PdfActionNodeSubmitForm)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsThread(out CloudPDF.PdfActionNodeThread? value) + { + if (Type == "thread") + { + value = (CloudPDF.PdfActionNodeThread)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsSound(out CloudPDF.PdfActionNodeSound? value) + { + if (Type == "sound") + { + value = (CloudPDF.PdfActionNodeSound)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsMovie(out CloudPDF.PdfActionNodeMovie? value) + { + if (Type == "movie") + { + value = (CloudPDF.PdfActionNodeMovie)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsImportData(out CloudPDF.PdfActionNodeImportData? value) + { + if (Type == "import-data") + { + value = (CloudPDF.PdfActionNodeImportData)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsSetOcgState(out CloudPDF.PdfActionNodeSetOcgState? value) + { + if (Type == "set-ocg-state") + { + value = (CloudPDF.PdfActionNodeSetOcgState)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsTransition(out CloudPDF.PdfActionNodeTransition? value) + { + if (Type == "transition") + { + value = (CloudPDF.PdfActionNodeTransition)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsGoto3DView(out CloudPDF.PdfActionNodeGoto3DView? value) + { + if (Type == "goto-3d-view") + { + value = (CloudPDF.PdfActionNodeGoto3DView)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsUnknown(out CloudPDF.PdfActionNodeUnknown? value) + { + if (Type == "unknown") + { + value = (CloudPDF.PdfActionNodeUnknown)Value!; + return true; + } + value = null; + return false; + } + + public override string ToString() => JsonUtils.Serialize(this); + + public static implicit operator PdfActionNode(PdfActionNode.Javascript value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Goto value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Uri value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Named value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Hide value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.ResetForm value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.GotoRemote value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.GotoEmbedded value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Launch value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Rendition value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.SubmitForm value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Thread value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Sound value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Movie value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.ImportData value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.SetOcgState value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Transition value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Goto3DView value) => new(value); + + public static implicit operator PdfActionNode(PdfActionNode.Unknown value) => new(value); + + [Serializable] + internal sealed class JsonConverter : JsonConverter + { + public override bool CanConvert(global::System.Type typeToConvert) => + typeof(PdfActionNode).IsAssignableFrom(typeToConvert); + + public override PdfActionNode Read( + ref Utf8JsonReader reader, + global::System.Type typeToConvert, + JsonSerializerOptions options + ) + { + var json = JsonElement.ParseValue(ref reader); + if (!json.TryGetProperty("type", out var discriminatorElement)) + { + throw new JsonException("Missing discriminator property 'type'"); + } + if (discriminatorElement.ValueKind != JsonValueKind.String) + { + if (discriminatorElement.ValueKind == JsonValueKind.Null) + { + throw new JsonException("Discriminator property 'type' is null"); + } + + throw new JsonException( + $"Discriminator property 'type' is not a string, instead is {discriminatorElement.ToString()}" + ); + } + + var discriminator = + discriminatorElement.GetString() + ?? throw new JsonException("Discriminator property 'type' is null"); + + // Strip the discriminant property to prevent it from leaking into AdditionalProperties + var jsonObject = System.Text.Json.Nodes.JsonObject.Create(json); + jsonObject?.Remove("type"); + var jsonWithoutDiscriminator = + jsonObject != null ? JsonSerializer.SerializeToElement(jsonObject, options) : json; + + var value = discriminator switch + { + "javascript" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeJavascript" + ), + "goto" => jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeGoto"), + "uri" => jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeUri"), + "named" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeNamed"), + "hide" => jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeHide"), + "reset-form" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeResetForm" + ), + "goto-remote" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeGotoRemote" + ), + "goto-embedded" => + jsonWithoutDiscriminator.Deserialize( + options + ) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeGotoEmbedded" + ), + "launch" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeLaunch"), + "rendition" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeRendition" + ), + "submit-form" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeSubmitForm" + ), + "thread" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeThread"), + "sound" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeSound"), + "movie" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeMovie"), + "import-data" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeImportData" + ), + "set-ocg-state" => + jsonWithoutDiscriminator.Deserialize( + options + ) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeSetOcgState" + ), + "transition" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeTransition" + ), + "goto-3d-view" => + jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionNodeGoto3DView" + ), + "unknown" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfActionNodeUnknown"), + _ => json.Deserialize(options), + }; + return new PdfActionNode(discriminator, value); + } + + public override void Write( + Utf8JsonWriter writer, + PdfActionNode value, + JsonSerializerOptions options + ) + { + JsonNode json = + value.Type switch + { + "javascript" => JsonSerializer.SerializeToNode(value.Value, options), + "goto" => JsonSerializer.SerializeToNode(value.Value, options), + "uri" => JsonSerializer.SerializeToNode(value.Value, options), + "named" => JsonSerializer.SerializeToNode(value.Value, options), + "hide" => JsonSerializer.SerializeToNode(value.Value, options), + "reset-form" => JsonSerializer.SerializeToNode(value.Value, options), + "goto-remote" => JsonSerializer.SerializeToNode(value.Value, options), + "goto-embedded" => JsonSerializer.SerializeToNode(value.Value, options), + "launch" => JsonSerializer.SerializeToNode(value.Value, options), + "rendition" => JsonSerializer.SerializeToNode(value.Value, options), + "submit-form" => JsonSerializer.SerializeToNode(value.Value, options), + "thread" => JsonSerializer.SerializeToNode(value.Value, options), + "sound" => JsonSerializer.SerializeToNode(value.Value, options), + "movie" => JsonSerializer.SerializeToNode(value.Value, options), + "import-data" => JsonSerializer.SerializeToNode(value.Value, options), + "set-ocg-state" => JsonSerializer.SerializeToNode(value.Value, options), + "transition" => JsonSerializer.SerializeToNode(value.Value, options), + "goto-3d-view" => JsonSerializer.SerializeToNode(value.Value, options), + "unknown" => JsonSerializer.SerializeToNode(value.Value, options), + _ => JsonSerializer.SerializeToNode(value.Value, options), + } ?? new JsonObject(); + json["type"] = value.Type; + json.WriteTo(writer, options); + } + + public override PdfActionNode ReadAsPropertyName( + ref Utf8JsonReader reader, + global::System.Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new JsonException("The JSON property name could not be read as a string."); + return new PdfActionNode(stringValue, stringValue); + } + + public override void WriteAsPropertyName( + Utf8JsonWriter writer, + PdfActionNode value, + JsonSerializerOptions options + ) + { + writer.WritePropertyName(value.Type); + } + } + + /// + /// Discriminated union type for javascript + /// + [Serializable] + public struct Javascript + { + public Javascript(CloudPDF.PdfActionNodeJavascript value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeJavascript Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Javascript( + CloudPDF.PdfActionNodeJavascript value + ) => new(value); + } + + /// + /// Discriminated union type for goto + /// + [Serializable] + public struct Goto + { + public Goto(CloudPDF.PdfActionNodeGoto value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeGoto Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Goto(CloudPDF.PdfActionNodeGoto value) => + new(value); + } + + /// + /// Discriminated union type for uri + /// + [Serializable] + public struct Uri + { + public Uri(CloudPDF.PdfActionNodeUri value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeUri Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Uri(CloudPDF.PdfActionNodeUri value) => + new(value); + } + + /// + /// Discriminated union type for named + /// + [Serializable] + public struct Named + { + public Named(CloudPDF.PdfActionNodeNamed value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeNamed Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Named(CloudPDF.PdfActionNodeNamed value) => + new(value); + } + + /// + /// Discriminated union type for hide + /// + [Serializable] + public struct Hide + { + public Hide(CloudPDF.PdfActionNodeHide value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeHide Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Hide(CloudPDF.PdfActionNodeHide value) => + new(value); + } + + /// + /// Discriminated union type for reset-form + /// + [Serializable] + public struct ResetForm + { + public ResetForm(CloudPDF.PdfActionNodeResetForm value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeResetForm Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.ResetForm( + CloudPDF.PdfActionNodeResetForm value + ) => new(value); + } + + /// + /// Discriminated union type for goto-remote + /// + [Serializable] + public struct GotoRemote + { + public GotoRemote(CloudPDF.PdfActionNodeGotoRemote value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeGotoRemote Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.GotoRemote( + CloudPDF.PdfActionNodeGotoRemote value + ) => new(value); + } + + /// + /// Discriminated union type for goto-embedded + /// + [Serializable] + public struct GotoEmbedded + { + public GotoEmbedded(CloudPDF.PdfActionNodeGotoEmbedded value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeGotoEmbedded Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.GotoEmbedded( + CloudPDF.PdfActionNodeGotoEmbedded value + ) => new(value); + } + + /// + /// Discriminated union type for launch + /// + [Serializable] + public struct Launch + { + public Launch(CloudPDF.PdfActionNodeLaunch value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeLaunch Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Launch(CloudPDF.PdfActionNodeLaunch value) => + new(value); + } + + /// + /// Discriminated union type for rendition + /// + [Serializable] + public struct Rendition + { + public Rendition(CloudPDF.PdfActionNodeRendition value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeRendition Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Rendition( + CloudPDF.PdfActionNodeRendition value + ) => new(value); + } + + /// + /// Discriminated union type for submit-form + /// + [Serializable] + public struct SubmitForm + { + public SubmitForm(CloudPDF.PdfActionNodeSubmitForm value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeSubmitForm Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.SubmitForm( + CloudPDF.PdfActionNodeSubmitForm value + ) => new(value); + } + + /// + /// Discriminated union type for thread + /// + [Serializable] + public struct Thread + { + public Thread(CloudPDF.PdfActionNodeThread value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeThread Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Thread(CloudPDF.PdfActionNodeThread value) => + new(value); + } + + /// + /// Discriminated union type for sound + /// + [Serializable] + public struct Sound + { + public Sound(CloudPDF.PdfActionNodeSound value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeSound Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Sound(CloudPDF.PdfActionNodeSound value) => + new(value); + } + + /// + /// Discriminated union type for movie + /// + [Serializable] + public struct Movie + { + public Movie(CloudPDF.PdfActionNodeMovie value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeMovie Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Movie(CloudPDF.PdfActionNodeMovie value) => + new(value); + } + + /// + /// Discriminated union type for import-data + /// + [Serializable] + public struct ImportData + { + public ImportData(CloudPDF.PdfActionNodeImportData value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeImportData Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.ImportData( + CloudPDF.PdfActionNodeImportData value + ) => new(value); + } + + /// + /// Discriminated union type for set-ocg-state + /// + [Serializable] + public struct SetOcgState + { + public SetOcgState(CloudPDF.PdfActionNodeSetOcgState value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeSetOcgState Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.SetOcgState( + CloudPDF.PdfActionNodeSetOcgState value + ) => new(value); + } + + /// + /// Discriminated union type for transition + /// + [Serializable] + public struct Transition + { + public Transition(CloudPDF.PdfActionNodeTransition value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeTransition Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Transition( + CloudPDF.PdfActionNodeTransition value + ) => new(value); + } + + /// + /// Discriminated union type for goto-3d-view + /// + [Serializable] + public struct Goto3DView + { + public Goto3DView(CloudPDF.PdfActionNodeGoto3DView value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeGoto3DView Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Goto3DView( + CloudPDF.PdfActionNodeGoto3DView value + ) => new(value); + } + + /// + /// Discriminated union type for unknown + /// + [Serializable] + public struct Unknown + { + public Unknown(CloudPDF.PdfActionNodeUnknown value) + { + Value = value; + } + + internal CloudPDF.PdfActionNodeUnknown Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionNode.Unknown( + CloudPDF.PdfActionNodeUnknown value + ) => new(value); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeGoto.cs b/src/CloudPDF/Types/PdfActionNodeGoto.cs new file mode 100644 index 0000000..ed9e4dc --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeGoto.cs @@ -0,0 +1,34 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeGoto : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("destination")] + public required PdfDestination Destination { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeGoto3DView.cs b/src/CloudPDF/Types/PdfActionNodeGoto3DView.cs new file mode 100644 index 0000000..c0666d8 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeGoto3DView.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeGoto3DView : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeGotoEmbedded.cs b/src/CloudPDF/Types/PdfActionNodeGotoEmbedded.cs new file mode 100644 index 0000000..e907949 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeGotoEmbedded.cs @@ -0,0 +1,34 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeGotoEmbedded : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("filePath")] + public required string FilePath { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeGotoRemote.cs b/src/CloudPDF/Types/PdfActionNodeGotoRemote.cs new file mode 100644 index 0000000..df39f89 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeGotoRemote.cs @@ -0,0 +1,34 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeGotoRemote : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("filePath")] + public required string FilePath { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRoot.cs b/src/CloudPDF/Types/PdfActionNodeHide.cs similarity index 73% rename from src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRoot.cs rename to src/CloudPDF/Types/PdfActionNodeHide.cs index 5fe750a..6982958 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsValidateRoot.cs +++ b/src/CloudPDF/Types/PdfActionNodeHide.cs @@ -5,24 +5,24 @@ namespace CloudPDF; [Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsValidateRoot : IJsonOnDeserialized +public record PdfActionNodeHide : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemTextActionsValidateRootType Type { get; set; } - [JsonPropertyName("subtype")] public required string Subtype { get; set; } - [JsonPropertyName("script")] - public string? Script { get; set; } - [JsonPropertyName("next")] public IEnumerable Next { get; set; } = new List(); + [JsonPropertyName("targets")] + public IEnumerable Targets { get; set; } = new List(); + + [JsonPropertyName("hide")] + public required bool Hide { get; set; } + [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/PdfActionNodeImportData.cs b/src/CloudPDF/Types/PdfActionNodeImportData.cs new file mode 100644 index 0000000..ef9afe5 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeImportData.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeImportData : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot.cs b/src/CloudPDF/Types/PdfActionNodeJavascript.cs similarity index 76% rename from src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot.cs rename to src/CloudPDF/Types/PdfActionNodeJavascript.cs index 0e55d0d..5d89f59 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot.cs +++ b/src/CloudPDF/Types/PdfActionNodeJavascript.cs @@ -5,24 +5,21 @@ namespace CloudPDF; [Serializable] -public record DocFormsGet200ResponseFieldsItemRadioActionsFormatRoot : IJsonOnDeserialized +public record PdfActionNodeJavascript : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemRadioActionsFormatRootType Type { get; set; } - [JsonPropertyName("subtype")] public required string Subtype { get; set; } - [JsonPropertyName("script")] - public string? Script { get; set; } - [JsonPropertyName("next")] public IEnumerable Next { get; set; } = new List(); + [JsonPropertyName("script")] + public required string Script { get; set; } + [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/PdfActionNodeLaunch.cs b/src/CloudPDF/Types/PdfActionNodeLaunch.cs new file mode 100644 index 0000000..24ba6b2 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeLaunch.cs @@ -0,0 +1,34 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeLaunch : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("filePath")] + public required string FilePath { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeMovie.cs b/src/CloudPDF/Types/PdfActionNodeMovie.cs new file mode 100644 index 0000000..5dd7ffb --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeMovie.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeMovie : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeNamed.cs b/src/CloudPDF/Types/PdfActionNodeNamed.cs new file mode 100644 index 0000000..1eb6b78 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeNamed.cs @@ -0,0 +1,34 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeNamed : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("name")] + public required string Name { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRoot.cs b/src/CloudPDF/Types/PdfActionNodeRendition.cs similarity index 80% rename from src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRoot.cs rename to src/CloudPDF/Types/PdfActionNodeRendition.cs index 7a49e57..e5e99f3 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormatRoot.cs +++ b/src/CloudPDF/Types/PdfActionNodeRendition.cs @@ -5,24 +5,21 @@ namespace CloudPDF; [Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsFormatRoot : IJsonOnDeserialized +public record PdfActionNodeRendition : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemTextActionsFormatRootType Type { get; set; } - [JsonPropertyName("subtype")] public required string Subtype { get; set; } - [JsonPropertyName("script")] - public string? Script { get; set; } - [JsonPropertyName("next")] public IEnumerable Next { get; set; } = new List(); + [JsonPropertyName("script")] + public string? Script { get; set; } + [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot.cs b/src/CloudPDF/Types/PdfActionNodeResetForm.cs similarity index 73% rename from src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot.cs rename to src/CloudPDF/Types/PdfActionNodeResetForm.cs index 891f2cb..2c77990 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot.cs +++ b/src/CloudPDF/Types/PdfActionNodeResetForm.cs @@ -5,24 +5,24 @@ namespace CloudPDF; [Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsCalculateRoot : IJsonOnDeserialized +public record PdfActionNodeResetForm : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); - [JsonPropertyName("type")] - public required DocFormsGet200ResponseFieldsItemTextActionsCalculateRootType Type { get; set; } - [JsonPropertyName("subtype")] public required string Subtype { get; set; } - [JsonPropertyName("script")] - public string? Script { get; set; } - [JsonPropertyName("next")] public IEnumerable Next { get; set; } = new List(); + [JsonPropertyName("fields")] + public IEnumerable? Fields { get; set; } + + [JsonPropertyName("exclude")] + public required bool Exclude { get; set; } + [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/PdfActionNodeSetOcgState.cs b/src/CloudPDF/Types/PdfActionNodeSetOcgState.cs new file mode 100644 index 0000000..0192a86 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSetOcgState.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeSetOcgState : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeSound.cs b/src/CloudPDF/Types/PdfActionNodeSound.cs new file mode 100644 index 0000000..279f96f --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSound.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeSound : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeSubmitForm.cs b/src/CloudPDF/Types/PdfActionNodeSubmitForm.cs new file mode 100644 index 0000000..e13428b --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSubmitForm.cs @@ -0,0 +1,34 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeSubmitForm : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("payload")] + public PdfActionNodeSubmitFormPayload? Payload { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeSubmitFormPayload.cs b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayload.cs new file mode 100644 index 0000000..a35bf22 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayload.cs @@ -0,0 +1,37 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeSubmitFormPayload : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("url")] + public required string Url { get; set; } + + [JsonPropertyName("fields")] + public IEnumerable? Fields { get; set; } + + [JsonPropertyName("flags")] + public required PdfActionNodeSubmitFormPayloadFlags Flags { get; set; } + + [JsonPropertyName("charSet")] + public string? CharSet { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlags.cs b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlags.cs new file mode 100644 index 0000000..5a382dc --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlags.cs @@ -0,0 +1,61 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeSubmitFormPayloadFlags : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("raw")] + public required int Raw { get; set; } + + [JsonPropertyName("exclude")] + public required bool Exclude { get; set; } + + [JsonPropertyName("includeNoValueFields")] + public required bool IncludeNoValueFields { get; set; } + + [JsonPropertyName("format")] + public required PdfActionNodeSubmitFormPayloadFlagsFormat Format { get; set; } + + [JsonPropertyName("method")] + public required PdfActionNodeSubmitFormPayloadFlagsMethod Method { get; set; } + + [JsonPropertyName("submitCoordinates")] + public required bool SubmitCoordinates { get; set; } + + [JsonPropertyName("includeAppendSaves")] + public required bool IncludeAppendSaves { get; set; } + + [JsonPropertyName("includeAnnotations")] + public required bool IncludeAnnotations { get; set; } + + [JsonPropertyName("canonicalFormat")] + public required bool CanonicalFormat { get; set; } + + [JsonPropertyName("exclNonUserAnnots")] + public required bool ExclNonUserAnnots { get; set; } + + [JsonPropertyName("exclFKey")] + public required bool ExclFKey { get; set; } + + [JsonPropertyName("embedForm")] + public required bool EmbedForm { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsFormat.cs b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsFormat.cs new file mode 100644 index 0000000..fe163f5 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsFormat.cs @@ -0,0 +1,132 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[JsonConverter( + typeof(PdfActionNodeSubmitFormPayloadFlagsFormat.PdfActionNodeSubmitFormPayloadFlagsFormatSerializer) +)] +[Serializable] +public readonly record struct PdfActionNodeSubmitFormPayloadFlagsFormat : IStringEnum +{ + public static readonly PdfActionNodeSubmitFormPayloadFlagsFormat Fdf = new(Values.Fdf); + + public static readonly PdfActionNodeSubmitFormPayloadFlagsFormat Html = new(Values.Html); + + public static readonly PdfActionNodeSubmitFormPayloadFlagsFormat Xfdf = new(Values.Xfdf); + + public static readonly PdfActionNodeSubmitFormPayloadFlagsFormat Pdf = new(Values.Pdf); + + public PdfActionNodeSubmitFormPayloadFlagsFormat(string value) + { + Value = value; + } + + /// + /// The string value of the enum. + /// + public string Value { get; } + + /// + /// Create a string enum with the given value. + /// + public static PdfActionNodeSubmitFormPayloadFlagsFormat FromCustom(string value) + { + return new PdfActionNodeSubmitFormPayloadFlagsFormat(value); + } + + public bool Equals(string? other) + { + return Value.Equals(other); + } + + /// + /// Returns the string value of the enum. + /// + public override string ToString() + { + return Value; + } + + public static bool operator ==( + PdfActionNodeSubmitFormPayloadFlagsFormat value1, + string value2 + ) => value1.Value.Equals(value2); + + public static bool operator !=( + PdfActionNodeSubmitFormPayloadFlagsFormat value1, + string value2 + ) => !value1.Value.Equals(value2); + + public static explicit operator string(PdfActionNodeSubmitFormPayloadFlagsFormat value) => + value.Value; + + public static explicit operator PdfActionNodeSubmitFormPayloadFlagsFormat(string value) => + new(value); + + internal class PdfActionNodeSubmitFormPayloadFlagsFormatSerializer + : JsonConverter + { + public override PdfActionNodeSubmitFormPayloadFlagsFormat Read( + ref Utf8JsonReader reader, + Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new global::System.Exception( + "The JSON value could not be read as a string." + ); + return new PdfActionNodeSubmitFormPayloadFlagsFormat(stringValue); + } + + public override void Write( + Utf8JsonWriter writer, + PdfActionNodeSubmitFormPayloadFlagsFormat value, + JsonSerializerOptions options + ) + { + writer.WriteStringValue(value.Value); + } + + public override PdfActionNodeSubmitFormPayloadFlagsFormat ReadAsPropertyName( + ref Utf8JsonReader reader, + Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new global::System.Exception( + "The JSON property name could not be read as a string." + ); + return new PdfActionNodeSubmitFormPayloadFlagsFormat(stringValue); + } + + public override void WriteAsPropertyName( + Utf8JsonWriter writer, + PdfActionNodeSubmitFormPayloadFlagsFormat value, + JsonSerializerOptions options + ) + { + writer.WritePropertyName(value.Value); + } + } + + /// + /// Constant strings for enum values + /// + [Serializable] + public static class Values + { + public const string Fdf = "fdf"; + + public const string Html = "html"; + + public const string Xfdf = "xfdf"; + + public const string Pdf = "pdf"; + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsMethod.cs b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsMethod.cs new file mode 100644 index 0000000..24651c1 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeSubmitFormPayloadFlagsMethod.cs @@ -0,0 +1,124 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[JsonConverter( + typeof(PdfActionNodeSubmitFormPayloadFlagsMethod.PdfActionNodeSubmitFormPayloadFlagsMethodSerializer) +)] +[Serializable] +public readonly record struct PdfActionNodeSubmitFormPayloadFlagsMethod : IStringEnum +{ + public static readonly PdfActionNodeSubmitFormPayloadFlagsMethod Post = new(Values.Post); + + public static readonly PdfActionNodeSubmitFormPayloadFlagsMethod Get = new(Values.Get); + + public PdfActionNodeSubmitFormPayloadFlagsMethod(string value) + { + Value = value; + } + + /// + /// The string value of the enum. + /// + public string Value { get; } + + /// + /// Create a string enum with the given value. + /// + public static PdfActionNodeSubmitFormPayloadFlagsMethod FromCustom(string value) + { + return new PdfActionNodeSubmitFormPayloadFlagsMethod(value); + } + + public bool Equals(string? other) + { + return Value.Equals(other); + } + + /// + /// Returns the string value of the enum. + /// + public override string ToString() + { + return Value; + } + + public static bool operator ==( + PdfActionNodeSubmitFormPayloadFlagsMethod value1, + string value2 + ) => value1.Value.Equals(value2); + + public static bool operator !=( + PdfActionNodeSubmitFormPayloadFlagsMethod value1, + string value2 + ) => !value1.Value.Equals(value2); + + public static explicit operator string(PdfActionNodeSubmitFormPayloadFlagsMethod value) => + value.Value; + + public static explicit operator PdfActionNodeSubmitFormPayloadFlagsMethod(string value) => + new(value); + + internal class PdfActionNodeSubmitFormPayloadFlagsMethodSerializer + : JsonConverter + { + public override PdfActionNodeSubmitFormPayloadFlagsMethod Read( + ref Utf8JsonReader reader, + Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new global::System.Exception( + "The JSON value could not be read as a string." + ); + return new PdfActionNodeSubmitFormPayloadFlagsMethod(stringValue); + } + + public override void Write( + Utf8JsonWriter writer, + PdfActionNodeSubmitFormPayloadFlagsMethod value, + JsonSerializerOptions options + ) + { + writer.WriteStringValue(value.Value); + } + + public override PdfActionNodeSubmitFormPayloadFlagsMethod ReadAsPropertyName( + ref Utf8JsonReader reader, + Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new global::System.Exception( + "The JSON property name could not be read as a string." + ); + return new PdfActionNodeSubmitFormPayloadFlagsMethod(stringValue); + } + + public override void WriteAsPropertyName( + Utf8JsonWriter writer, + PdfActionNodeSubmitFormPayloadFlagsMethod value, + JsonSerializerOptions options + ) + { + writer.WritePropertyName(value.Value); + } + } + + /// + /// Constant strings for enum values + /// + [Serializable] + public static class Values + { + public const string Post = "post"; + + public const string Get = "get"; + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeThread.cs b/src/CloudPDF/Types/PdfActionNodeThread.cs new file mode 100644 index 0000000..359e18b --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeThread.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeThread : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeTransition.cs b/src/CloudPDF/Types/PdfActionNodeTransition.cs new file mode 100644 index 0000000..5ef8dc1 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeTransition.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeTransition : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeUnknown.cs b/src/CloudPDF/Types/PdfActionNodeUnknown.cs new file mode 100644 index 0000000..0d0b290 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeUnknown.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeUnknown : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionNodeUri.cs b/src/CloudPDF/Types/PdfActionNodeUri.cs new file mode 100644 index 0000000..892d911 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionNodeUri.cs @@ -0,0 +1,37 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfActionNodeUri : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("subtype")] + public required string Subtype { get; set; } + + [JsonPropertyName("next")] + public IEnumerable Next { get; set; } = new List(); + + [JsonPropertyName("uri")] + public required string Uri { get; set; } + + [JsonPropertyName("isMap")] + public required bool IsMap { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfActionTargetRef.cs b/src/CloudPDF/Types/PdfActionTargetRef.cs new file mode 100644 index 0000000..f8a0154 --- /dev/null +++ b/src/CloudPDF/Types/PdfActionTargetRef.cs @@ -0,0 +1,284 @@ +// ReSharper disable NullableWarningSuppressionIsUsed +// ReSharper disable InconsistentNaming + +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Nodes; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[JsonConverter(typeof(PdfActionTargetRef.JsonConverter))] +[Serializable] +public record PdfActionTargetRef +{ + internal PdfActionTargetRef(string type, object? value) + { + Kind = type; + Value = value; + } + + /// + /// Create an instance of PdfActionTargetRef with . + /// + public PdfActionTargetRef(PdfActionTargetRef.Name value) + { + Kind = "name"; + Value = value.Value; + } + + /// + /// Create an instance of PdfActionTargetRef with . + /// + public PdfActionTargetRef(PdfActionTargetRef.ObjectNumber value) + { + Kind = "objectNumber"; + Value = value.Value; + } + + /// + /// Discriminant value + /// + [JsonPropertyName("kind")] + public string Kind { get; internal set; } + + /// + /// Discriminated union value + /// + public object? Value { get; internal set; } + + /// + /// Returns true if is "name" + /// + public bool IsName => Kind == "name"; + + /// + /// Returns true if is "objectNumber" + /// + public bool IsObjectNumber => Kind == "objectNumber"; + + /// + /// Returns the value as a if is 'name', otherwise throws an exception. + /// + /// Thrown when is not 'name'. + public CloudPDF.PdfActionTargetRefName AsName() => + IsName + ? (CloudPDF.PdfActionTargetRefName)Value! + : throw new global::System.Exception("PdfActionTargetRef.Kind is not 'name'"); + + /// + /// Returns the value as a if is 'objectNumber', otherwise throws an exception. + /// + /// Thrown when is not 'objectNumber'. + public CloudPDF.PdfActionTargetRefObjectNumber AsObjectNumber() => + IsObjectNumber + ? (CloudPDF.PdfActionTargetRefObjectNumber)Value! + : throw new global::System.Exception("PdfActionTargetRef.Kind is not 'objectNumber'"); + + public T Match( + Func onName, + Func onObjectNumber, + Func onUnknown_ + ) + { + return Kind switch + { + "name" => onName(AsName()), + "objectNumber" => onObjectNumber(AsObjectNumber()), + _ => onUnknown_(Kind, Value), + }; + } + + public void Visit( + Action onName, + Action onObjectNumber, + Action onUnknown_ + ) + { + switch (Kind) + { + case "name": + onName(AsName()); + break; + case "objectNumber": + onObjectNumber(AsObjectNumber()); + break; + default: + onUnknown_(Kind, Value); + break; + } + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsName(out CloudPDF.PdfActionTargetRefName? value) + { + if (Kind == "name") + { + value = (CloudPDF.PdfActionTargetRefName)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsObjectNumber(out CloudPDF.PdfActionTargetRefObjectNumber? value) + { + if (Kind == "objectNumber") + { + value = (CloudPDF.PdfActionTargetRefObjectNumber)Value!; + return true; + } + value = null; + return false; + } + + public override string ToString() => JsonUtils.Serialize(this); + + public static implicit operator PdfActionTargetRef(PdfActionTargetRef.Name value) => new(value); + + public static implicit operator PdfActionTargetRef(PdfActionTargetRef.ObjectNumber value) => + new(value); + + [Serializable] + internal sealed class JsonConverter : JsonConverter + { + public override bool CanConvert(global::System.Type typeToConvert) => + typeof(PdfActionTargetRef).IsAssignableFrom(typeToConvert); + + public override PdfActionTargetRef Read( + ref Utf8JsonReader reader, + global::System.Type typeToConvert, + JsonSerializerOptions options + ) + { + var json = JsonElement.ParseValue(ref reader); + if (!json.TryGetProperty("kind", out var discriminatorElement)) + { + throw new JsonException("Missing discriminator property 'kind'"); + } + if (discriminatorElement.ValueKind != JsonValueKind.String) + { + if (discriminatorElement.ValueKind == JsonValueKind.Null) + { + throw new JsonException("Discriminator property 'kind' is null"); + } + + throw new JsonException( + $"Discriminator property 'kind' is not a string, instead is {discriminatorElement.ToString()}" + ); + } + + var discriminator = + discriminatorElement.GetString() + ?? throw new JsonException("Discriminator property 'kind' is null"); + + // Strip the discriminant property to prevent it from leaking into AdditionalProperties + var jsonObject = System.Text.Json.Nodes.JsonObject.Create(json); + jsonObject?.Remove("kind"); + var jsonWithoutDiscriminator = + jsonObject != null ? JsonSerializer.SerializeToElement(jsonObject, options) : json; + + var value = discriminator switch + { + "name" => jsonWithoutDiscriminator.Deserialize( + options + ) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionTargetRefName" + ), + "objectNumber" => + jsonWithoutDiscriminator.Deserialize( + options + ) + ?? throw new JsonException( + "Failed to deserialize CloudPDF.PdfActionTargetRefObjectNumber" + ), + _ => json.Deserialize(options), + }; + return new PdfActionTargetRef(discriminator, value); + } + + public override void Write( + Utf8JsonWriter writer, + PdfActionTargetRef value, + JsonSerializerOptions options + ) + { + JsonNode json = + value.Kind switch + { + "name" => JsonSerializer.SerializeToNode(value.Value, options), + "objectNumber" => JsonSerializer.SerializeToNode(value.Value, options), + _ => JsonSerializer.SerializeToNode(value.Value, options), + } ?? new JsonObject(); + json["kind"] = value.Kind; + json.WriteTo(writer, options); + } + + public override PdfActionTargetRef ReadAsPropertyName( + ref Utf8JsonReader reader, + global::System.Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new JsonException("The JSON property name could not be read as a string."); + return new PdfActionTargetRef(stringValue, stringValue); + } + + public override void WriteAsPropertyName( + Utf8JsonWriter writer, + PdfActionTargetRef value, + JsonSerializerOptions options + ) + { + writer.WritePropertyName(value.Kind); + } + } + + /// + /// Discriminated union type for name + /// + [Serializable] + public struct Name + { + public Name(CloudPDF.PdfActionTargetRefName value) + { + Value = value; + } + + internal CloudPDF.PdfActionTargetRefName Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionTargetRef.Name( + CloudPDF.PdfActionTargetRefName value + ) => new(value); + } + + /// + /// Discriminated union type for objectNumber + /// + [Serializable] + public struct ObjectNumber + { + public ObjectNumber(CloudPDF.PdfActionTargetRefObjectNumber value) + { + Value = value; + } + + internal CloudPDF.PdfActionTargetRefObjectNumber Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfActionTargetRef.ObjectNumber( + CloudPDF.PdfActionTargetRefObjectNumber value + ) => new(value); + } +} diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit.cs b/src/CloudPDF/Types/PdfActionTargetRefName.cs similarity index 73% rename from src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit.cs rename to src/CloudPDF/Types/PdfActionTargetRefName.cs index 62ab68c..8b04470 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit.cs +++ b/src/CloudPDF/Types/PdfActionTargetRefName.cs @@ -5,15 +5,14 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFit - : IJsonOnDeserialized +public record PdfActionTargetRefName : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } + [JsonPropertyName("name")] + public required string Name { get; set; } [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB.cs b/src/CloudPDF/Types/PdfActionTargetRefObjectNumber.cs similarity index 73% rename from src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB.cs rename to src/CloudPDF/Types/PdfActionTargetRefObjectNumber.cs index b70b261..a49028a 100644 --- a/src/CloudPDF/Types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB.cs +++ b/src/CloudPDF/Types/PdfActionTargetRefObjectNumber.cs @@ -5,15 +5,14 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoDestinationFitB - : IJsonOnDeserialized +public record PdfActionTargetRefObjectNumber : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); - [JsonPropertyName("pageObjectNumber")] - public required int PageObjectNumber { get; set; } + [JsonPropertyName("objectNumber")] + public required int ObjectNumber { get; set; } [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormat.cs b/src/CloudPDF/Types/PdfActionTree.cs similarity index 70% rename from src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormat.cs rename to src/CloudPDF/Types/PdfActionTree.cs index c614a40..4a973b9 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActionsFormat.cs +++ b/src/CloudPDF/Types/PdfActionTree.cs @@ -5,14 +5,14 @@ namespace CloudPDF; [Serializable] -public record DocFormsGet200ResponseFieldsItemTextActionsFormat : IJsonOnDeserialized +public record PdfActionTree : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); [JsonPropertyName("root")] - public DocFormsGet200ResponseFieldsItemTextActionsFormatRoot? Root { get; set; } + public PdfActionNode? Root { get; set; } [JsonPropertyName("incomplete")] public required bool Incomplete { get; set; } @@ -21,8 +21,8 @@ public record DocFormsGet200ResponseFieldsItemTextActionsFormat : IJsonOnDeseria public required int WarningFlags { get; set; } [JsonPropertyName("warnings")] - public IEnumerable Warnings { get; set; } = - new List(); + public IEnumerable Warnings { get; set; } = + new List(); [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/PdfActionTreeWarningsItem.cs b/src/CloudPDF/Types/PdfActionTreeWarningsItem.cs new file mode 100644 index 0000000..0d4a1eb --- /dev/null +++ b/src/CloudPDF/Types/PdfActionTreeWarningsItem.cs @@ -0,0 +1,123 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[JsonConverter(typeof(PdfActionTreeWarningsItem.PdfActionTreeWarningsItemSerializer))] +[Serializable] +public readonly record struct PdfActionTreeWarningsItem : IStringEnum +{ + public static readonly PdfActionTreeWarningsItem CycleDropped = new(Values.CycleDropped); + + public static readonly PdfActionTreeWarningsItem MalformedNext = new(Values.MalformedNext); + + public static readonly PdfActionTreeWarningsItem Incomplete = new(Values.Incomplete); + + public static readonly PdfActionTreeWarningsItem PayloadDropped = new(Values.PayloadDropped); + + public PdfActionTreeWarningsItem(string value) + { + Value = value; + } + + /// + /// The string value of the enum. + /// + public string Value { get; } + + /// + /// Create a string enum with the given value. + /// + public static PdfActionTreeWarningsItem FromCustom(string value) + { + return new PdfActionTreeWarningsItem(value); + } + + public bool Equals(string? other) + { + return Value.Equals(other); + } + + /// + /// Returns the string value of the enum. + /// + public override string ToString() + { + return Value; + } + + public static bool operator ==(PdfActionTreeWarningsItem value1, string value2) => + value1.Value.Equals(value2); + + public static bool operator !=(PdfActionTreeWarningsItem value1, string value2) => + !value1.Value.Equals(value2); + + public static explicit operator string(PdfActionTreeWarningsItem value) => value.Value; + + public static explicit operator PdfActionTreeWarningsItem(string value) => new(value); + + internal class PdfActionTreeWarningsItemSerializer : JsonConverter + { + public override PdfActionTreeWarningsItem Read( + ref Utf8JsonReader reader, + Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new global::System.Exception( + "The JSON value could not be read as a string." + ); + return new PdfActionTreeWarningsItem(stringValue); + } + + public override void Write( + Utf8JsonWriter writer, + PdfActionTreeWarningsItem value, + JsonSerializerOptions options + ) + { + writer.WriteStringValue(value.Value); + } + + public override PdfActionTreeWarningsItem ReadAsPropertyName( + ref Utf8JsonReader reader, + Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new global::System.Exception( + "The JSON property name could not be read as a string." + ); + return new PdfActionTreeWarningsItem(stringValue); + } + + public override void WriteAsPropertyName( + Utf8JsonWriter writer, + PdfActionTreeWarningsItem value, + JsonSerializerOptions options + ) + { + writer.WritePropertyName(value.Value); + } + } + + /// + /// Constant strings for enum values + /// + [Serializable] + public static class Values + { + public const string CycleDropped = "cycle-dropped"; + + public const string MalformedNext = "malformed-next"; + + public const string Incomplete = "incomplete"; + + public const string PayloadDropped = "payload-dropped"; + } +} diff --git a/src/CloudPDF/Types/PdfAnnotationActions.cs b/src/CloudPDF/Types/PdfAnnotationActions.cs new file mode 100644 index 0000000..c47cb2f --- /dev/null +++ b/src/CloudPDF/Types/PdfAnnotationActions.cs @@ -0,0 +1,58 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfAnnotationActions : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("activate")] + public PdfActionTree? Activate { get; set; } + + [JsonPropertyName("cursorEnter")] + public PdfActionTree? CursorEnter { get; set; } + + [JsonPropertyName("cursorExit")] + public PdfActionTree? CursorExit { get; set; } + + [JsonPropertyName("mouseDown")] + public PdfActionTree? MouseDown { get; set; } + + [JsonPropertyName("mouseUp")] + public PdfActionTree? MouseUp { get; set; } + + [JsonPropertyName("focus")] + public PdfActionTree? Focus { get; set; } + + [JsonPropertyName("blur")] + public PdfActionTree? Blur { get; set; } + + [JsonPropertyName("pageOpen")] + public PdfActionTree? PageOpen { get; set; } + + [JsonPropertyName("pageClose")] + public PdfActionTree? PageClose { get; set; } + + [JsonPropertyName("pageVisible")] + public PdfActionTree? PageVisible { get; set; } + + [JsonPropertyName("pageInvisible")] + public PdfActionTree? PageInvisible { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +} diff --git a/src/CloudPDF/Types/PdfDestination.cs b/src/CloudPDF/Types/PdfDestination.cs new file mode 100644 index 0000000..b3a7770 --- /dev/null +++ b/src/CloudPDF/Types/PdfDestination.cs @@ -0,0 +1,680 @@ +// ReSharper disable NullableWarningSuppressionIsUsed +// ReSharper disable InconsistentNaming + +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Nodes; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[JsonConverter(typeof(PdfDestination.JsonConverter))] +[Serializable] +public record PdfDestination +{ + internal PdfDestination(string type, object? value) + { + Kind = type; + Value = value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.Xyz value) + { + Kind = "xyz"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.Fit value) + { + Kind = "fit"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.FitH value) + { + Kind = "fitH"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.FitV value) + { + Kind = "fitV"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.FitR value) + { + Kind = "fitR"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.FitB value) + { + Kind = "fitB"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.FitBh value) + { + Kind = "fitBH"; + Value = value.Value; + } + + /// + /// Create an instance of PdfDestination with . + /// + public PdfDestination(PdfDestination.FitBv value) + { + Kind = "fitBV"; + Value = value.Value; + } + + /// + /// Discriminant value + /// + [JsonPropertyName("kind")] + public string Kind { get; internal set; } + + /// + /// Discriminated union value + /// + public object? Value { get; internal set; } + + /// + /// Returns true if is "xyz" + /// + public bool IsXyz => Kind == "xyz"; + + /// + /// Returns true if is "fit" + /// + public bool IsFit => Kind == "fit"; + + /// + /// Returns true if is "fitH" + /// + public bool IsFitH => Kind == "fitH"; + + /// + /// Returns true if is "fitV" + /// + public bool IsFitV => Kind == "fitV"; + + /// + /// Returns true if is "fitR" + /// + public bool IsFitR => Kind == "fitR"; + + /// + /// Returns true if is "fitB" + /// + public bool IsFitB => Kind == "fitB"; + + /// + /// Returns true if is "fitBH" + /// + public bool IsFitBh => Kind == "fitBH"; + + /// + /// Returns true if is "fitBV" + /// + public bool IsFitBv => Kind == "fitBV"; + + /// + /// Returns the value as a if is 'xyz', otherwise throws an exception. + /// + /// Thrown when is not 'xyz'. + public CloudPDF.PdfDestinationXyz AsXyz() => + IsXyz + ? (CloudPDF.PdfDestinationXyz)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'xyz'"); + + /// + /// Returns the value as a if is 'fit', otherwise throws an exception. + /// + /// Thrown when is not 'fit'. + public CloudPDF.PdfDestinationFit AsFit() => + IsFit + ? (CloudPDF.PdfDestinationFit)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fit'"); + + /// + /// Returns the value as a if is 'fitH', otherwise throws an exception. + /// + /// Thrown when is not 'fitH'. + public CloudPDF.PdfDestinationFitH AsFitH() => + IsFitH + ? (CloudPDF.PdfDestinationFitH)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fitH'"); + + /// + /// Returns the value as a if is 'fitV', otherwise throws an exception. + /// + /// Thrown when is not 'fitV'. + public CloudPDF.PdfDestinationFitV AsFitV() => + IsFitV + ? (CloudPDF.PdfDestinationFitV)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fitV'"); + + /// + /// Returns the value as a if is 'fitR', otherwise throws an exception. + /// + /// Thrown when is not 'fitR'. + public CloudPDF.PdfDestinationFitR AsFitR() => + IsFitR + ? (CloudPDF.PdfDestinationFitR)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fitR'"); + + /// + /// Returns the value as a if is 'fitB', otherwise throws an exception. + /// + /// Thrown when is not 'fitB'. + public CloudPDF.PdfDestinationFitB AsFitB() => + IsFitB + ? (CloudPDF.PdfDestinationFitB)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fitB'"); + + /// + /// Returns the value as a if is 'fitBH', otherwise throws an exception. + /// + /// Thrown when is not 'fitBH'. + public CloudPDF.PdfDestinationFitBh AsFitBh() => + IsFitBh + ? (CloudPDF.PdfDestinationFitBh)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fitBH'"); + + /// + /// Returns the value as a if is 'fitBV', otherwise throws an exception. + /// + /// Thrown when is not 'fitBV'. + public CloudPDF.PdfDestinationFitBv AsFitBv() => + IsFitBv + ? (CloudPDF.PdfDestinationFitBv)Value! + : throw new global::System.Exception("PdfDestination.Kind is not 'fitBV'"); + + public T Match( + Func onXyz, + Func onFit, + Func onFitH, + Func onFitV, + Func onFitR, + Func onFitB, + Func onFitBh, + Func onFitBv, + Func onUnknown_ + ) + { + return Kind switch + { + "xyz" => onXyz(AsXyz()), + "fit" => onFit(AsFit()), + "fitH" => onFitH(AsFitH()), + "fitV" => onFitV(AsFitV()), + "fitR" => onFitR(AsFitR()), + "fitB" => onFitB(AsFitB()), + "fitBH" => onFitBh(AsFitBh()), + "fitBV" => onFitBv(AsFitBv()), + _ => onUnknown_(Kind, Value), + }; + } + + public void Visit( + Action onXyz, + Action onFit, + Action onFitH, + Action onFitV, + Action onFitR, + Action onFitB, + Action onFitBh, + Action onFitBv, + Action onUnknown_ + ) + { + switch (Kind) + { + case "xyz": + onXyz(AsXyz()); + break; + case "fit": + onFit(AsFit()); + break; + case "fitH": + onFitH(AsFitH()); + break; + case "fitV": + onFitV(AsFitV()); + break; + case "fitR": + onFitR(AsFitR()); + break; + case "fitB": + onFitB(AsFitB()); + break; + case "fitBH": + onFitBh(AsFitBh()); + break; + case "fitBV": + onFitBv(AsFitBv()); + break; + default: + onUnknown_(Kind, Value); + break; + } + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsXyz(out CloudPDF.PdfDestinationXyz? value) + { + if (Kind == "xyz") + { + value = (CloudPDF.PdfDestinationXyz)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFit(out CloudPDF.PdfDestinationFit? value) + { + if (Kind == "fit") + { + value = (CloudPDF.PdfDestinationFit)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFitH(out CloudPDF.PdfDestinationFitH? value) + { + if (Kind == "fitH") + { + value = (CloudPDF.PdfDestinationFitH)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFitV(out CloudPDF.PdfDestinationFitV? value) + { + if (Kind == "fitV") + { + value = (CloudPDF.PdfDestinationFitV)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFitR(out CloudPDF.PdfDestinationFitR? value) + { + if (Kind == "fitR") + { + value = (CloudPDF.PdfDestinationFitR)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFitB(out CloudPDF.PdfDestinationFitB? value) + { + if (Kind == "fitB") + { + value = (CloudPDF.PdfDestinationFitB)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFitBh(out CloudPDF.PdfDestinationFitBh? value) + { + if (Kind == "fitBH") + { + value = (CloudPDF.PdfDestinationFitBh)Value!; + return true; + } + value = null; + return false; + } + + /// + /// Attempts to cast the value to a and returns true if successful. + /// + public bool TryAsFitBv(out CloudPDF.PdfDestinationFitBv? value) + { + if (Kind == "fitBV") + { + value = (CloudPDF.PdfDestinationFitBv)Value!; + return true; + } + value = null; + return false; + } + + public override string ToString() => JsonUtils.Serialize(this); + + public static implicit operator PdfDestination(PdfDestination.Xyz value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.Fit value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.FitH value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.FitV value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.FitR value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.FitB value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.FitBh value) => new(value); + + public static implicit operator PdfDestination(PdfDestination.FitBv value) => new(value); + + [Serializable] + internal sealed class JsonConverter : JsonConverter + { + public override bool CanConvert(global::System.Type typeToConvert) => + typeof(PdfDestination).IsAssignableFrom(typeToConvert); + + public override PdfDestination Read( + ref Utf8JsonReader reader, + global::System.Type typeToConvert, + JsonSerializerOptions options + ) + { + var json = JsonElement.ParseValue(ref reader); + if (!json.TryGetProperty("kind", out var discriminatorElement)) + { + throw new JsonException("Missing discriminator property 'kind'"); + } + if (discriminatorElement.ValueKind != JsonValueKind.String) + { + if (discriminatorElement.ValueKind == JsonValueKind.Null) + { + throw new JsonException("Discriminator property 'kind' is null"); + } + + throw new JsonException( + $"Discriminator property 'kind' is not a string, instead is {discriminatorElement.ToString()}" + ); + } + + var discriminator = + discriminatorElement.GetString() + ?? throw new JsonException("Discriminator property 'kind' is null"); + + // Strip the discriminant property to prevent it from leaking into AdditionalProperties + var jsonObject = System.Text.Json.Nodes.JsonObject.Create(json); + jsonObject?.Remove("kind"); + var jsonWithoutDiscriminator = + jsonObject != null ? JsonSerializer.SerializeToElement(jsonObject, options) : json; + + var value = discriminator switch + { + "xyz" => jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationXyz"), + "fit" => jsonWithoutDiscriminator.Deserialize(options) + ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFit"), + "fitH" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFitH"), + "fitV" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFitV"), + "fitR" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFitR"), + "fitB" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFitB"), + "fitBH" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFitBh"), + "fitBV" => jsonWithoutDiscriminator.Deserialize( + options + ) ?? throw new JsonException("Failed to deserialize CloudPDF.PdfDestinationFitBv"), + _ => json.Deserialize(options), + }; + return new PdfDestination(discriminator, value); + } + + public override void Write( + Utf8JsonWriter writer, + PdfDestination value, + JsonSerializerOptions options + ) + { + JsonNode json = + value.Kind switch + { + "xyz" => JsonSerializer.SerializeToNode(value.Value, options), + "fit" => JsonSerializer.SerializeToNode(value.Value, options), + "fitH" => JsonSerializer.SerializeToNode(value.Value, options), + "fitV" => JsonSerializer.SerializeToNode(value.Value, options), + "fitR" => JsonSerializer.SerializeToNode(value.Value, options), + "fitB" => JsonSerializer.SerializeToNode(value.Value, options), + "fitBH" => JsonSerializer.SerializeToNode(value.Value, options), + "fitBV" => JsonSerializer.SerializeToNode(value.Value, options), + _ => JsonSerializer.SerializeToNode(value.Value, options), + } ?? new JsonObject(); + json["kind"] = value.Kind; + json.WriteTo(writer, options); + } + + public override PdfDestination ReadAsPropertyName( + ref Utf8JsonReader reader, + global::System.Type typeToConvert, + JsonSerializerOptions options + ) + { + var stringValue = + reader.GetString() + ?? throw new JsonException("The JSON property name could not be read as a string."); + return new PdfDestination(stringValue, stringValue); + } + + public override void WriteAsPropertyName( + Utf8JsonWriter writer, + PdfDestination value, + JsonSerializerOptions options + ) + { + writer.WritePropertyName(value.Kind); + } + } + + /// + /// Discriminated union type for xyz + /// + [Serializable] + public struct Xyz + { + public Xyz(CloudPDF.PdfDestinationXyz value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationXyz Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.Xyz(CloudPDF.PdfDestinationXyz value) => + new(value); + } + + /// + /// Discriminated union type for fit + /// + [Serializable] + public struct Fit + { + public Fit(CloudPDF.PdfDestinationFit value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFit Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.Fit(CloudPDF.PdfDestinationFit value) => + new(value); + } + + /// + /// Discriminated union type for fitH + /// + [Serializable] + public struct FitH + { + public FitH(CloudPDF.PdfDestinationFitH value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFitH Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.FitH(CloudPDF.PdfDestinationFitH value) => + new(value); + } + + /// + /// Discriminated union type for fitV + /// + [Serializable] + public struct FitV + { + public FitV(CloudPDF.PdfDestinationFitV value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFitV Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.FitV(CloudPDF.PdfDestinationFitV value) => + new(value); + } + + /// + /// Discriminated union type for fitR + /// + [Serializable] + public struct FitR + { + public FitR(CloudPDF.PdfDestinationFitR value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFitR Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.FitR(CloudPDF.PdfDestinationFitR value) => + new(value); + } + + /// + /// Discriminated union type for fitB + /// + [Serializable] + public struct FitB + { + public FitB(CloudPDF.PdfDestinationFitB value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFitB Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.FitB(CloudPDF.PdfDestinationFitB value) => + new(value); + } + + /// + /// Discriminated union type for fitBH + /// + [Serializable] + public struct FitBh + { + public FitBh(CloudPDF.PdfDestinationFitBh value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFitBh Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.FitBh(CloudPDF.PdfDestinationFitBh value) => + new(value); + } + + /// + /// Discriminated union type for fitBV + /// + [Serializable] + public struct FitBv + { + public FitBv(CloudPDF.PdfDestinationFitBv value) + { + Value = value; + } + + internal CloudPDF.PdfDestinationFitBv Value { get; set; } + + public override string ToString() => Value.ToString() ?? "null"; + + public static implicit operator PdfDestination.FitBv(CloudPDF.PdfDestinationFitBv value) => + new(value); + } +} diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit.cs b/src/CloudPDF/Types/PdfDestinationFit.cs similarity index 86% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit.cs rename to src/CloudPDF/Types/PdfDestinationFit.cs index 3c82ede..c30c109 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit.cs +++ b/src/CloudPDF/Types/PdfDestinationFit.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFit - : IJsonOnDeserialized +public record PdfDestinationFit : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB.cs b/src/CloudPDF/Types/PdfDestinationFitB.cs similarity index 86% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB.cs rename to src/CloudPDF/Types/PdfDestinationFitB.cs index cea0287..0f34dda 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB.cs +++ b/src/CloudPDF/Types/PdfDestinationFitB.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitB - : IJsonOnDeserialized +public record PdfDestinationFitB : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH.cs b/src/CloudPDF/Types/PdfDestinationFitBh.cs similarity index 87% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH.cs rename to src/CloudPDF/Types/PdfDestinationFitBh.cs index d17da98..db59335 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH.cs +++ b/src/CloudPDF/Types/PdfDestinationFitBh.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitH - : IJsonOnDeserialized +public record PdfDestinationFitBh : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV.cs b/src/CloudPDF/Types/PdfDestinationFitBv.cs similarity index 87% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV.cs rename to src/CloudPDF/Types/PdfDestinationFitBv.cs index a5fb2e8..4327ca9 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV.cs +++ b/src/CloudPDF/Types/PdfDestinationFitBv.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitV - : IJsonOnDeserialized +public record PdfDestinationFitBv : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh.cs b/src/CloudPDF/Types/PdfDestinationFitH.cs similarity index 87% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh.cs rename to src/CloudPDF/Types/PdfDestinationFitH.cs index d97f7d6..7738f84 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh.cs +++ b/src/CloudPDF/Types/PdfDestinationFitH.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBh - : IJsonOnDeserialized +public record PdfDestinationFitH : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR.cs b/src/CloudPDF/Types/PdfDestinationFitR.cs similarity index 90% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR.cs rename to src/CloudPDF/Types/PdfDestinationFitR.cs index 3c1d212..238cf4a 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR.cs +++ b/src/CloudPDF/Types/PdfDestinationFitR.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitR - : IJsonOnDeserialized +public record PdfDestinationFitR : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv.cs b/src/CloudPDF/Types/PdfDestinationFitV.cs similarity index 87% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv.cs rename to src/CloudPDF/Types/PdfDestinationFitV.cs index 097398d..3608f2a 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv.cs +++ b/src/CloudPDF/Types/PdfDestinationFitV.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationFitBv - : IJsonOnDeserialized +public record PdfDestinationFitV : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz.cs b/src/CloudPDF/Types/PdfDestinationXyz.cs similarity index 89% rename from src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz.cs rename to src/CloudPDF/Types/PdfDestinationXyz.cs index 13c95b7..993df12 100644 --- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz.cs +++ b/src/CloudPDF/Types/PdfDestinationXyz.cs @@ -5,8 +5,7 @@ namespace CloudPDF; [Serializable] -public record DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoDestinationXyz - : IJsonOnDeserialized +public record PdfDestinationXyz : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = diff --git a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActions.cs b/src/CloudPDF/Types/PdfFieldActions.cs similarity index 64% rename from src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActions.cs rename to src/CloudPDF/Types/PdfFieldActions.cs index 41aad83..20f2baf 100644 --- a/src/CloudPDF/Types/DocFormsGet200ResponseFieldsItemTextActions.cs +++ b/src/CloudPDF/Types/PdfFieldActions.cs @@ -5,23 +5,23 @@ namespace CloudPDF; [Serializable] -public record DocFormsGet200ResponseFieldsItemTextActions : IJsonOnDeserialized +public record PdfFieldActions : IJsonOnDeserialized { [JsonExtensionData] private readonly IDictionary _extensionData = new Dictionary(); [JsonPropertyName("keystroke")] - public DocFormsGet200ResponseFieldsItemTextActionsKeystroke? Keystroke { get; set; } + public PdfActionTree? Keystroke { get; set; } [JsonPropertyName("format")] - public DocFormsGet200ResponseFieldsItemTextActionsFormat? Format { get; set; } + public PdfActionTree? Format { get; set; } [JsonPropertyName("validate")] - public DocFormsGet200ResponseFieldsItemTextActionsValidate? Validate { get; set; } + public PdfActionTree? Validate { get; set; } [JsonPropertyName("calculate")] - public DocFormsGet200ResponseFieldsItemTextActionsCalculate? Calculate { get; set; } + public PdfActionTree? Calculate { get; set; } [JsonIgnore] public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); diff --git a/src/CloudPDF/Types/PdfPageActions.cs b/src/CloudPDF/Types/PdfPageActions.cs new file mode 100644 index 0000000..bffb7a6 --- /dev/null +++ b/src/CloudPDF/Types/PdfPageActions.cs @@ -0,0 +1,31 @@ +using CloudPDF.Core; +using global::System.Text.Json; +using global::System.Text.Json.Serialization; + +namespace CloudPDF; + +[Serializable] +public record PdfPageActions : IJsonOnDeserialized +{ + [JsonExtensionData] + private readonly IDictionary _extensionData = + new Dictionary(); + + [JsonPropertyName("open")] + public PdfActionTree? Open { get; set; } + + [JsonPropertyName("close")] + public PdfActionTree? Close { get; set; } + + [JsonIgnore] + public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new(); + + void IJsonOnDeserialized.OnDeserialized() => + AdditionalProperties.CopyFromExtensionData(_extensionData); + + /// + public override string ToString() + { + return JsonUtils.Serialize(this); + } +}